当我尝试将Web应用程序部署到WebSphere 8.5时,我收到违反协议异常的调用. Web应用程序基于Spring(4.1.4.RELEASE)和Hibernate(4.2.7.Final)技术堆栈.
我已将persistance.xml放入Meta-INF目录.
有人解决这个问题吗?
例外:
0000003a visitor W
com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation
[ com.ibm.ws.amm.scan.util.InfoVisitor@511845444 ] for method [
com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1491394741 (
org.hibernate.annotations.JoinColumnOrFormula.column ) ] Name [ null ]
Description [ Ljavax/persistence/JoinColumn; ] Call in violation of
protocol0000003a visitor W
com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation
[ com.ibm.ws.amm.scan.util.InfoVisitor@511845444 ] for method [
com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1586464341 (
org.hibernate.annotations.Table.foreignKey ) ] Name [ null ]
Description [ Lorg/hibernate/annotations/ForeignKey; ] Call in
violation of protocol