Error Messages:
16:47:56.249 [http-nio-8099-exec-9] ERROR invoking [Service:sys.login:public abstract java.lang.String com.icitic.sys.api.login.LoginService.jumpUrl(java.lang.String,ja va.lang.String)] failed c.i.c.s.internal.ServiceRegistry java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.api.BindingID at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseBinding(RuntimeWSDLParser.java:445) ~[na:1.7.0_79] at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:342) ~[na:1.7.0_79] at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:157) ~[na:1.7.0_79] at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:120) ~[na:1.7.0_79] at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:258) ~[na:1.7.0_79] at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:221) ~[na:1.7.0_79] at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:169) ~[na:1.7.0_79] at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:101) ~[na:1.7.0_79] at javax.xml.ws.Service.<init>(Service.java:77) ~[na:1.7.0_79]
Solution:
the solution is to get rid of saaj-impl-1.3.2.jar and saaj-api-1.3.jar libraries from OUR_SERVICE_APP and’force’ it to use rt.jar / JDK implementations instead.
The solution is to remove the saaj-impl-1.3.2.jar and saaj-api-1.3.jar libraries from our _service_application and “force” it to use rt.jar/JDK.
However, since these two jar packages are provided by other third-party applications, they cannot be deleted. It is recommended to develop by writing a custom ClassLoader, and load it into the specified JAR first through the custom ClassLoader, and delegate the rest to the parent class loader to load.
Similar Posts:
- How to Solve TestNG Frame Warning:Cannot find class in classpath: NewTest
- IDEA uses sonarlint error [How to Solve]
- [Solved] XML Read Error: Invalid byte 1 of 1-byte UTF-8 sequence
- java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
- [Solved] Spark Install Error: ERROR SparkContext: Error initializing SparkContext. java.lang.reflect.InvocationTargetException
- Weblogic startup error: java.lang.noclassdeffounderror [How to Solve]
- Unable to instantiate application
- [How to Solve] Hive: Unsupported major.minor version 51.0
- [Java. Lang. unsupported classversionerror] version inconsistency error
- javafx:JavaFX Scene Builder 2.0 open the fxml file containing the third party jar package and report an error caused by: java.lang.classnotfoundexception