无法解析javax.jms.Message类型。它是从所需的.class文件间接引用的 [英] The type javax.jms.Message cannot be resolved. It is indirectly referenced from required .class files
问题描述
我下载了一个weblogic 12c示例(Avitek™医疗记录示例应用程序)并使用此应用程序成功启动了一个域。然后我将它导入我的Eclipse Juno,有兴趣调试这个示例应用程序。我包括了每个lib都需要。我收到此错误类型javax.jms.Message无法解析。它在PatientNotifierBroker项目中间接引用了所需的.class文件。我找了javax.jms_1.1.2.jar,我已经添加了这个库。
导入一些项目后有人面临类似问题吗?
I downloaded a weblogic 12c sample ("Avitek™ Medical Records Sample Application") and started a domain successfuly with this aplication. Then I imported its to my Eclipse Juno with the interest to debug this sample application. I included every lib are needed. I got this error "The type javax.jms.Message cannot be resolved. It is indirectly referenced from required .class files" in the PatientNotifierBroker project. I looked for javax.jms_1.1.2.jar and I had already added this library.
Have someone face similiar problem after imported some project?
推荐答案
将其标记为在该项目属性选项卡上导出。 lib就在那里,但不是你构建的一部分。
这就是为什么它是间接引用的。
mark it for export on that 3. Project property tab. The lib is there, but not part of your build.
That`s why it is indirect referenced.
这篇关于无法解析javax.jms.Message类型。它是从所需的.class文件间接引用的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!