Maven jaxb2:xjc/jaxws:wsimport to be added in eclipse?

Posted by wuntee on Stack Overflow See other posts from Stack Overflow or by wuntee
Published on 2010-03-31T21:04:37Z Indexed on 2010/03/31 21:53 UTC
Read the original article Hit count: 448

Filed under:
|

I have a library I am creating based on some WSDL/XSD definitions. I am having a problem having the compiled classes added in the eclipse project. I can see that with a 'mvn compile' that the .class files are generated, as well as the .java files. The problem is that even though the .class files are generated, eclipse is still showing an error on the import statement "import com.whatever.SomeService_Service" that was generated by one of the plugins. I tried forcing the source to go into the project/src/main/java directory, but when the project is cleaned, it deletes files that I have created. Has anyone run into this before/found a way to get it to recognize that the class files are there? Thanks.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about maven-2