[Simple-support] Please help me
Brought to you by:
niallg
|
From: Wessam A. R. <wes...@gm...> - 2007-08-21 01:27:22
|
Hi, I keep getting this error on running the tutorial example code inside a module project in netbeans IDE. *java.lang.ClassCastException: com.sun.xml.stream.ZephyrParserFactory cannot be cast to javax.xml.stream.XMLInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at org.simpleframework.xml.stream.NodeBuilder.<clinit>(NodeBuilder.java:48) * I was initially getting a ClassDefNotFounfError exception. Then when i added the stax API and implementation to my module i get this exception. It can't possibly be anything i add to the code, cause i'm just using the tutorial example. It has to be something with the library itself. Could anyone help me fix this error? Please it's urgent Thanks in advance Wessam |