Hi,
I wrote a JAXB client that creates XML files. It is working fine on my machine. I exported the program on to testing environment, when I tried to run the program for XML file, it is giving me following exception. This is coming in this part of the code.
jc = JAXBContext.newInstance("com.mycom.jaxb.schemaClasses");
objFactory = new ObjectFactory();
Error occurred during File creation process: Exception in begin XML File Creation :-- javax.xml.bind.JAXBException
- with linked exception:
[java.lang.NoClassDefFoundError: Error definining
com.mycom.jaxb.schemaClasses.impl.runtime.UnmarshallingContext]
Am I missing anything here? It was working fine before when I had 1.0 version. Now, I changed program for 1.0.1. (Also, schema document has been changed). I copied all the jar files needed for JAXB runtime environment. Please help me.
Thanks,