5
I am trying to generate files/class from a Web Service and bring it to my Java project.
For this I am using Netbeans IDE 8.0.2
At first I’m getting the message "Uma classe/interface com o mesmo nome já está sendo usada. Use a personalização de classe para resolver este conflito."
During my researches I found a very similar case: https://forums.netbeans.org/ntopic45287.html
The author link indicates that I must set the property -b-xautoNameResolution (with true value) (image below) in options wsimport and this will solve the problem.

Then the log presents me the following error:

My doubt is, as the command -b-xautoNameResolution did not end up in the line of execution of wsimport (as shown in the log above).
With wsimport at command prompt I can do this:


Try
valueas the option name and-XautoNameResolutionas value (I know it sounds strange, but it was like this in earlier versions of Netbeans).– Anthony Accioly
Ah, I forgot, this is done on Jaxb’s dashboard, not the
wsimport.– Anthony Accioly