This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes XML Beans - The type javax.xml.stream.  XMLStreamReader cannot be resolved. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "XML Beans - The type javax.xml.stream.  XMLStreamReader cannot be resolved." Watch "XML Beans - The type javax.xml.stream.  XMLStreamReader cannot be resolved." New topic
Author

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

Richard Butterwood
Ranch Hand

Joined: Nov 07, 2005
Posts: 45
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

Joined: Nov 07, 2005
Posts: 45
Figured it out - I needed to reference jsr173_api.jar
 
GeeCON Prague 2014
 
subject: XML Beans - The type javax.xml.stream. XMLStreamReader cannot be resolved.