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

2019-10-18 Thread Neil C Smith
On Fri, 18 Oct 2019 at 11:20, Juan Miguel Escribano wrote: > As I said it is a Ant project (Again, don’t ask why) and if I’m understanding > StackOberflow, I need to add Java EE to the libraries of my project. > I have added jaxb-api, jaxb-impl. jaxb-core and activation jars to the > libraries o

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

2019-10-18 Thread Juan Miguel Escribano
Hi! As I said it is a Ant project (Again, don’t ask why) and if I’m understanding StackOberflow, I need to add Java EE to the libraries of my project. I have added jaxb-api, jaxb-impl. jaxb-core and activation jars to the libraries of the project (and to Ant, Java , Options, Classpath in Netbean

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

2019-10-18 Thread Juan Miguel Escribano
HI, Compile on safe is set to off but I don’t find where is "Run Compilation in External VM”. Un saludo Juan Miguel El 18 oct 2019 11:56 +0200, Neil C Smith , escribió: > On Fri, 18 Oct 2019 at 10:38, Juan Miguel Escribano > wrote: > > > > It only compiles without problems when I start Netbean

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

2019-10-18 Thread Luff,Chris
You bumping into a JavaEE dependency…that class is no longer in the JDK as of ^11 hence why it does not work on 13. You just need to add some dependencies to your project. Full explanation in this StackOverflow[1] response. [1]: https://stackoverflow.com/a/43574427 Chris Luff | Associate Princ

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

2019-10-18 Thread Neil C Smith
On Fri, 18 Oct 2019 at 10:38, Juan Miguel Escribano wrote: > > It only compiles without problems when I start Netbeans over Java 8 and > compile the project with Java 8. In project properties Build/Compiling have you tried with Compile on Save off and Run Compilation in External VM on? Best wis

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

2019-10-18 Thread Juan Miguel Escribano
It only compiles without problems when I start Netbeans over Java 8 and compile the project with Java 8. But starting Netbeans over Java 13 and compile the project with Java 8 does not work. Same problem. I would like to start Netbeans over Java 13 😢 Un saludo Juan Miguel El 18 oct 2019 11:31

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

2019-10-18 Thread Emilian Bold
I suppose you need to compile the project with Java 8 or something older. --emi vin., 18 oct. 2019, 11:54 Juan Miguel Escribano a scris: > Hi all, > > I’m trying to clean and build a project with a Web Service Client. > It is a Ant project (please, don’t ask why, it must be Ant 🤷🏻‍♂️) > I have