File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes JAXB error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB error" Watch "JAXB error" New topic
Author

JAXB error

Vivek Hingorani
Ranch Hand

Joined: Jul 08, 2011
Posts: 38


I created a countryIndia object and was trying this piece of code and was unable to execute last line as it was not allowing me to directly create the XML file from the Object.
whereas if i tried
it would write on the console in correct xml format.
I want to create the countryrecord.xml directly rather copying from console and pasting it to the XML
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 520
    
    3
I created a countryIndia object and was trying this piece of code and was unable to execute last line as it was not allowing me to directly create the XML file from the Object.

So you were not allowed. But what is the error?
 
GeeCON Prague 2014
 
subject: JAXB error