This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.xml.bind.annotation.XmlSchemaType missing  RSS feed

Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I'm trying to consume a third party wsdl using jax-ws approach using wsimport to generate all the client classes from the wsdl.
In my spring configuration file the bean displayBean does not get created due to the following error:-
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'displayBean' defined in ServletContext resource [/WEB-INF/applicationContext_webservices.xml]: Invocation of init method failed; nested exception is java.lang.annotation.IncompleteAnnotationException: javax.xml.bind.annotation.XmlSchemaType missing element name

Not sure how to fix the bind error. The class something.WebServiceSoap was generated as part of the wsimport call.


file:build.xml (sample part)

I would appreciate any help on solving this.

How do they get the deer to cross at the signs? Or to read this tiny ad?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!