I am trying to create a sample test application which converts an object to JaxbRepresentation. But when I try to run this, it gives me an error.
Main.java file
I created an empty jaxb.index file at the location where it was looking for the object factory class. That fixed my problem.