您好我在2台不同的服务器上有2个JBOSS实例。 在Jboss实例中,我正在部署相同的WAR文件。 我从我的WAR调用Web服务。在其中一个服务器中,我在其他服务器中遇到错误,它运行正常。
服务器中的错误导致关闭该服务器中的JBoss实例。
Unable to create JAXBContext: 1 counts of IllegalAnnotationExceptions
01:07:12,479 ERROR [stderr] com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
01:07:12,479 ERROR [stderr] java.lang.StackTraceElement does not have a no-arg default constructor.
01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102)
01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:438)
01:07:12,481 ERROR [stderr] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
01:07:12,482 ERROR [stderr] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
01:07:12,482 ERROR [stderr] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
01:07:12,482 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:07:12,482 ERROR [stderr] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
01:07:12,483 ERROR [stderr] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01:07:12,483 ERROR [stderr] at java.lang.reflect.Method.invoke(Method.java:606)
01:07:12,483 ERROR [stderr] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211)
01:07:12,484 ERROR [stderr] at javax.xml.bind.ContextFinder.find(ContextFinder.java:392)
01:07:12,484 ERROR [stderr] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
01:07:12,484 ERROR [stderr] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)
我还尝试将JBoss Server的实例从工作实例复制到其他服务器,但仍然会出现同样的错误。
JBoss版本:JBoss EAP 6.1.0
需要帮助才能解决此问题!!!!!!!