It's not a secret anymore!*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 537
    
    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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB error