java.lang.NoClassDefFoundError: Failed to link com/sun/xml/messaging/saaj/soap/ver1_1/Fault1_1Impl
kvncai Jun 8, 2018 1:25 PMI am getting this error as the app performing a ws call. All the jar files are in the module. Has anyone seen this error before? The app runs fine in JBOSS 6. Please help!
ERROR [org.quartz.core.ErrorLogger] (scheduler_Worker-1) Job (DEFAULT.MapirQ1 threw an exception.: org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: Failed to link com/sun/xml/messaging/saaj/soap/ver1_1/Fault1_1Impl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): Failed to link com/sun/xml/messaging/saaj/soap/impl/FaultImpl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): Failed to link com/sun/xml/messaging/saaj/soap/impl/ElementImpl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): com/sun/org/apache/xerces/internal/dom/ElementNSImpl]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.NoClassDefFoundError: Failed to link com/sun/xml/messaging/saaj/soap/ver1_1/Fault1_1Impl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): Failed to link com/sun/xml/messaging/saaj/soap/impl/FaultImpl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): Failed to link com/sun/xml/messaging/saaj/soap/impl/ElementImpl (Module "org.mapir:main" from local module loader @2be94b0f (finder: local module finder @d70c109 (roots: D:\JBoss_Servers\EAP-7.0.0-Batch\modules,D:\JBoss_Servers\EAP-7.0.0-Batch\modules\system\layers\base))): com/sun/org/apache/xerces/internal/dom/ElementNSImpl
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:446)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:274)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:78)
at org.jboss.modules.Module.loadModuleClass(Module.java:605)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault(SOAPFactory1_1Impl.java:92)
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:179)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:108)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at com.sun.proxy.$Proxy100.loadNLRB6(Unknown Source)
at gov.mapir.job.task.NlrB6Task.executeTask(NlrB6Task.java:25)
at gov.mapir.job.MapirQ1.loadB6s(MapirQ1.java:146)
at gov.mapir.job.MapirQ1.executeJob(MapirQ1.java:74)
at gov.mapir.job.AbstractBaseJob.executeInternal(AbstractBaseJob.java:49)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more