Maven构建未解决的汇编问题缺失类型
我将应用程序转换为Maven,并且遇到了一个问题,我无法弄清楚。该项目在工作区中没有错误(Eclipse,使用M2E插件),构建日志中没有错误,并且在部署过程中没有错误,但是当我在部署后尝试连接到服务器时,我会得到此错误:
com.ibm.ws.webcontainer.servlet.servletwrapper服务srve0014e:und offfice service()exception root cause/pages/pagages/pagages/pagages/pagages/pagages/page/pagages/pagage/pagage/pagage/pagages/pagage/pagages/pagage/pagage/mainlayout.jsp:com.ibm.m.websphere.servlet.servlet.servlet.error.error.servleterrorreport: :未解决的汇编问题: 方法getuserdetails()从该类型Trustssoutil类型引用丢失的类型OamawareuserDetails
oamawareuserdetails是一个扩展org.springframework.security.core.core.core.userdetails.userdetails的接口。我已经对罐子进行了反对,以确认该类在那里并正确编译,并且依赖罐(弹簧塞核-3.0.5.5.5.Release)包含在耳朵中。两种罐子在战争的pom.xml中列为依赖项,并将其包含在POM生成的清单上。
我的申请包括耳朵,战争和几个JAR项目。如果有人可以让我知道需要哪个POM,我可以包括POMS。
我意识到这个问题与该站点上的其他问题非常相似,但是我尝试了所有我能找到的所有问题,但没有一个解决我的问题。
I am converting my application to Maven and I have hit a problem I'm not able to figure out. The project has no errors in the workspace (eclipse, using m2e plugin), no errors in the build log, and no errors during deploy, but when I try to connect to the server after deploy I get this error:
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /pages/layout/mainLayout.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.Error: Unresolved compilation problem:
The method getUserDetails() from the type TrustSSOUtil refers to the missing type OAMAwareUserDetails
OAMAwareUserDetails is an interface that extends org.springframework.security.core.userdetails.UserDetails. I've decompiled the jars to confirm that the class is there and compiled correctly, and the dependency jar (spring-security-core-3.0.5.RELEASE) is contained in the EAR. Both jars are listed as dependencies in the pom.xml for the WAR and included on the manifest that gets generated from the pom.
My application includes an EAR, a WAR, and several JAR projects. I can include the poms if someone can let me know which pom is needed.
I realize this question is very similar to others on this site, but I have tried all those that I could find and none of them fixed my issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论