【发布时间】:2014-03-06 19:32:42
【问题描述】:
<camel:camelContext id="myCamelContext">
<camel:routeBuilder ref="route"/>
</camel:camelContext>
我尝试在 Intellij IDEA 中解析上面的 bean(“Parse custom bean”),但得到以下错误:
找不到命名空间“http://camel.apache.org/schema/spring”的自定义处理程序
IDE 还会在我的测试代码中显示任何对应的 @Autowired 注释的错误,尽管测试运行成功。该应用程序在运行时工作,我将骆驼弹簧作为 Maven 依赖项。它只是在 IDE 中存在问题。
【问题讨论】:
标签: spring maven intellij-idea