Я сталкиваюсь с некоторыми странными проблемами, когда пытаюсь создать экземпляр класса, сгенерированного Axis из WSDL (RPC):
java.lang.NoClassDefFoundError: Could not initialize class
com.test.ws.wsdl.TestBindingStub
at java.lang.Class.forName0(Native Method);
at java.lang.Class.forName(Class.java:264)
at de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor.forName(LazyInitOverrideBeanFactoryPostProcessor.java:90)
at java.util.Optional.map(Optional.java:215)
at de.hybris.platform.spring.LazyInitOverrideBeanFactoryPostProcessor.postProcessBeanFactory(LazyInitOverrideBeanFactoryPostProcessor.java:59)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:283)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:178)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
at de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.java:95)
at de.hybris.platform.core.HybrisContextFactory$ApplicationContextFactory.build(HybrisContextFactory.java:263)
at de.hybris.platform.core.HybrisContextHolder.getApplicationInstance(HybrisContextHolder.java:87)
at de.hybris.platform.core.AbstractTenant.createCoreApplicationContext(AbstractTenant.java:708)
at de.hybris.platform.core.AbstractTenant.doStartupSafe(AbstractTenant.java:746)
at de.hybris.platform.core.AbstractTenant.doStartUp(AbstractTenant.java:680)
at de.hybris.platform.core.Registry.assureTenantStarted(Registry.java:647)
at de.hybris.platform.core.Registry.activateTenant(Registry.java:708)
at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:555)
at de.hybris.platform.core.Registry.activateMasterTenant(Registry.java:615)
at de.hybris.platform.core.Registry.startup(Registry.java:433)
at de.hybris.platform.spring.HybrisContextLoaderListener.startRegistry(HybrisContextLoaderListener.java:317)
at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:203)
at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:191)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:87)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Сначала я подумал, что это может быть вызвано некоторыми отсутствующими зависимостями,но добавление axis-1.4.jar в мою папку lib не решило проблему ... есть подсказка?