簡體   English   中英

警告“違反協議的電話”

[英]Warning “Call in violation of protocol”

我有一個在IBM Websphere 8.5上運行的應用程序,我正在使用hibernate 4.2.8。 我在服務器啟動時收到以下警告:

[3/4/14 15:20:10:725 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@-210189610 ( org.hibernate.annotations.JoinColumnOrFormula.formula ) ] Name [ null ] Description [ Lorg/hibernate/annotations/JoinFormula; ] Call in violation of protocol
[3/4/14 15:20:10:725 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@-482978983 ( org.hibernate.annotations.JoinColumnOrFormula.column ) ] Name [ null ] Description [ Ljavax/persistence/JoinColumn; ] Call in violation of protocol
[3/4/14 15:20:10:729 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@-1529286857 ( org.hibernate.annotations.Table.foreignKey ) ] Name [ null ] Description [ Lorg/hibernate/annotations/ForeignKey; ] Call in violation of protocol
[3/4/14 15:20:10:729 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1310727123 ( org.hibernate.annotations.Table.sqlInsert ) ] Name [ null ] Description [ Lorg/hibernate/annotations/SQLInsert; ] Call in violation of protocol
[3/4/14 15:20:10:730 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@251574898 ( org.hibernate.annotations.Table.sqlUpdate ) ] Name [ null ] Description [ Lorg/hibernate/annotations/SQLUpdate; ] Call in violation of protocol
[3/4/14 15:20:10:730 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@15024097 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@-1168467436 ( org.hibernate.annotations.Table.sqlDelete ) ] Name [ null ] Description [ Lorg/hibernate/annotations/SQLDelete; ] Call in violation of protocol
[3/4/14 15:20:10:882 CAT] 00000034 visitor       W com.ibm.ws.amm.scan.util.AnnotationInfoDefaultVisitor visitAnnotation [ com.ibm.ws.amm.scan.util.InfoVisitor@-179906720 ] for method [ com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1056720732 ( javax.persistence.AssociationOverride.joinTable ) ] Name [ null ] Description [ Ljavax/persistence/JoinTable; ] Call in violation of protocol

] [[

有誰知道是什么原因造成的?

是的,使用此屬性:

...xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"

metadata-complete =“true”......

在...的頭部

web.xml中

幫助我!

可以在服務器和應用程序級別配置元數據解析,如http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg21381764中所述

您是否從早期版本升級到Servlet規范3.0? 這是我的情況,我現在看到同樣的錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM