Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl #66

Closed
lroura opened this issue Sep 14, 2017 · 1 comment

Comments

@lroura
Copy link

lroura commented Sep 14, 2017

I am deploying in weblogic and I have the following error:

Servlet: "CxfServlet" failed to preload on startup in Web application: "sip-1.9.0.war". org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actasServiceBean': Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.cxf.endpoint.Server org.apache.cxf.jaxws.JaxWsServerFactoryBean.create()] threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)

However, my tomcat deployment is successful!
Can you help me?

@lroura
Copy link
Author

lroura commented Sep 18, 2017

This bug was about dependencies conflict. One participant on my project, added a jar file with axis dependencies for the consuption of an old SOAP service

@lroura lroura closed this as completed Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant