2013年11月19日星期二

Great God help them publish with weblogic webservice interface issues

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clienthellow' defined in class path resource [ wsclient / helloworld.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create ()] threw exception; nested exception is java.lang.NoClassDefFoundError: org / apache / neethi / Assertion
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod (ConstructorResolver.java: 444)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod (AbstractAutowireCapableBeanFactory.java: 903)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance (AbstractAutowireCapableBeanFactory.java: 817)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java: 440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory $ 1.run (AbstractAutowireCapableBeanFactory.java: 409)
at java.security.AccessController.doPrivileged (Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean (AbstractAutowireCapableBeanFactory.java: 380)
at org.springframework.beans.factory.support.AbstractBeanFactory $ 1.getObject (AbstractBeanFactory.java: 264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton (DefaultSingletonBeanRegistry.java: 222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean (AbstractBeanFactory.java: 261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java: 185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java: 164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons (DefaultListableBeanFactory.java: 429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization (AbstractApplicationContext.java: 728)
at org.springframework.context.support.AbstractApplicationContext.refresh (AbstractApplicationContext.java: 380)
at org.springframework.context.support.ClassPathXmlApplicationContext. (ClassPathXmlApplicationContext.java: 139)
at org.springframework.context.support.ClassPathXmlApplicationContext. (ClassPathXmlApplicationContext.java: 93)
at client.ClientHellow.sayHi (ClientHellow.java: 38)
at client.ClientHellow.main (ClientHellow.java: 98)
------ Solution ---------------------- ----------------------
NoClassDefFoundError: org / apache / neethi / Assertion
Without this class , see if there is added neethi-xxx.jar, or just to find a class in your project , and then used in the method org.apache.neethi.Assertion see if you can come out .
------ For reference only -------------------------------------- -
ah solved thanks
------ For reference only ------------------------------ ---------
resolved, you have not posted a solution , affixed ah

没有评论:

发表评论