Init -Methode für die Initation in Init fehlgeschlagen; verschachtelte Ausnahme ist java.lang.noclassDeffoundError: konnJava

Java-Forum
Anonymous
 Init -Methode für die Initation in Init fehlgeschlagen; verschachtelte Ausnahme ist java.lang.noclassDeffoundError: konn

Post by Anonymous »

Ich habe cxf-rt-transports-http v2.2.10 von meinem Projekt verwendet, wenn ich es aktualisiere, um es zu aktualisieren, um zu cxf-rt-transports-http v3.5.5 , alle meine Testfälle und Code geben mir weiter.

Code: Select all

org.apache.cxf
cxf-rt-transports-http
2.2.10

< /code>
zu < /p>

org.apache.cxf
cxf-rt-transports-http
3.5.5

< /code>
Ich erhalte unterem Fehler. < /p>
Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.model.WrapperBeanGenerator
< /code>
Wenn ich den Abhängigkeitsbaum vergleiche: < /p>
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:2.2.10:compile
[INFO] |  +- org.apache.cxf:cxf-api:jar:2.2.10:compile
[INFO] |  |  +- org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2:compile
[INFO] |  |  +- org.apache.cxf:cxf-common-utilities:jar:2.2.10:compile
[INFO] |  |  |  \- org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0.1:compile
[INFO] |  |  +- org.apache.ws.commons.schema:XmlSchema:jar:1.4.5:compile
[INFO] |  |  +- org.apache.geronimo.specs:geronimo-annotation_1.0_spec:jar:1.1.1:compile
[INFO] |  |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.9:compile
[INFO] |  |  +- org.apache.neethi:neethi:jar:2.0.4:compile
[INFO] |  |  \- org.apache.cxf:cxf-common-schemas:jar:2.2.10:compile
[INFO] |  \- org.apache.cxf:cxf-rt-core:jar:2.2.10:compile
[INFO] |     \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.6:compile
< /code>
mit einer neuen Version < /p>
[INFO] +- org.apache.cxf:cxf-rt-transports-http:jar:3.5.5:compile
[INFO] |  \- org.apache.cxf:cxf-core:jar:3.5.5:compile
[INFO] |     +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.5:compile
[INFO] |     |  +- org.glassfish.jaxb:txw2:jar:2.3.5:compile
[INFO] |     |  \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime
[INFO] |     +- org.apache.ws.xmlschema:xmlschema-core:jar:2.3.0:compile
[INFO] |     \- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post