[Simple-support] Please help me
Brought to you by:
niallg
|
From: Wessam A. R. <wes...@gm...> - 2007-08-20 23:40:09
|
Hi Niall, after working around, i get this exception instead of the ClassDefNotFoundException. I still think it's caused by the same reason. something that has to do with initializing XMLInputFactory or something. I added the stax API and implementation to my module as dependencies and i still ge the same error. can you please help with this error? 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) Caused: *java.lang.ExceptionInInitializerError * at org.simpleframework.xml.load.Persister.write(Persister.java:687) at org.simpleframework.xml.load.Persister.write (Persister.java:669) at org.simpleframework.xml.load.Persister.write(Persister.java:650) at org.simpleframework.xml.load.Persister.write(Persister.java:629) at org.netbeans.shapesample.GraphSceneImpl.generateXML (GraphSceneImpl.java :152 Wessam |