Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB/Marshaller/XMEventWriter  RSS feed

 
Jessy Zhao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to marshall a java object into a xml byte array and got the following compiling error:

The type javax.xml.stream.XMLEventWriter cannot be resolved. It is indirectly referenced from required .class file.

I have all the jaxb and web service jar files included in my classpath.

Any clue how to fix this? Does anyone know which jar file contains this class?

Thanks for any info on this.
 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer really depends (on Java version, and a bunch of other things).

Nevertheless, please look here:
http://www.codeguru.com/forum/showthread.php?threadid=376090
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!