當我部署在JBoss中6。我是得到下面stackrace裝載機違反約束接口itable初始化:
一個Web服務項目產生的原因:java.lang.LinkageError的:裝載機約束違反接口itable初始化:當解析方法「org.apache.axis.message.MessageElement.getChildElements(Ljavax/xml/namespace/QName;)Ljava/util/Iterator;」當前類的類加載器(org/jboss/classloader/spi/base/BaseClassLoader的實例),org/apache/axis/message/MessageElement以及接口javax/xml/soap/SOAPElement的類加載器(實例)在簽名 處使用java.lang.Class.getDeclaredMethods0(Native Method)[:1.6.0_13] 處的java.lang.Class.privateGetDeclaredMethods(Class.java)中使用的類型爲javax/xml/namespace/QName的類對象:2427)[:1.6.0_13] at java.lang.Class.getDeclaredMethods(Class.java:1791)[:1.6.0_13] at org.jboss.deployment.AnnotatedClassFilter.hasAnnotations(AnnotatedClassFilter.java:186)[ :6.0.0.20100429-M3] at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:114)[:6.0.0.20100429-M3] at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter .java:99)[:6.0.0.20100429-M3] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:407)[jboss-vfs.jar:3.0.0.CR5] at org.jboss。 vfs.VirtualFile.visit(VirtualFile.java:409)[jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409)[jboss-vfs.jar: 3.0.0.CR5] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:409)[jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.VirtualFile.visit(VirtualFile .java:409)[jboss-vfs.jar:3.0.0.CR5] at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:395)[jboss-vfs.jar:3.0.0.CR5] at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.getClasses(WarAnnotationMetaDataDeployer.java:172)[:6.0.0.20100429-M3] at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.processMetaData(WarAn notationMetaDataDeployer.java:145)[:6.0.0.20100429-M3] at org.jboss.web.deployers.WarAnnotationMetaDataDeployer.deploy(WarAnnotationMetaDataDeployer.java:119)[:6.0.0.20100429-M3] at org.jboss.web。 (WarAnnotationMetaDataDeployer.java:80)[:6.0.0.20100429-M3] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)[:2.2.0.Alpha4] ...... 26多個
請幫我..... :)
檢查jb/jdk和軸的版本是否相互兼容 – Satya
問題得到解決....:) 注意:這是由於jboss中的jar和我的類路徑中的jar之間的衝突.... – Don
如果是這樣,請評論 – Satya