I cannot see Jaxb tools in intellij IDEA

I'm going crazy. I want to generate jaxb classes from XSD in intellij, but I have no option in tools / jaxb or right click on file. I read that I need the "webservices" plugin but I can't see it. Sorry if my english is bad. Thanks in advance.

+3


source to share


3 answers


Well there is no such option in Intellij community edition, that's the problem: P



For anyone else who has this issue, you can use Eclipse for free JAXB.

+4


source


If you want to generate an xml file, the thoses commands should help Create a Document Instance from the Schema Dialog But they don't seem to include right clicking.



If you really need to create a class from your IDE, I can only tell you that Eclipse doesn't. I had to use a maven plugin for this.

0


source


You need Ultimate Version IntelliJ Idea for this, as JAXB doesn't seem to be supported by Community Edition.

In Ultimate Version, make sure you open the file (not just select it in the navigator). This is kind of counter-intuitive as I expected the Tools menu to change depending on what I selected rather than opening, but that's just me.

TL; DR: make sure the file is open in the editor and not just selected in the navigator to see the JAXB menu

0


source







All Articles