• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Richard Butterwood
Ranch Hand
Posts: 45
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Figured it out - I needed to reference jsr173_api.jar
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!