• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Beans - The type javax.xml.stream. XMLStreamReader cannot be resolved.

 
Richard Butterwood
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I managed to get XML Beans installed and generated the .jar via scomp. Everything looks good apart from when I try to parse the file. Under the following code

"AddressDetailsDocument myParsedDoc = AddressDetailsDocument.Factory.parse(fleInput);"

I get the error

"The type javax.xml.stream.XMLStreamReader cannot be resolved. It is indirectly referenced from required .class files"

Am I missing another .jar file? I am referencing xbean.jar.
 
Richard Butterwood
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured it out - I needed to reference jsr173_api.jar
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic