aspose file tools
The moose likes Websphere and the fly likes XMLbeans giving problem with WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "XMLbeans giving problem with WebSphere" Watch "XMLbeans giving problem with WebSphere" New topic
Author

XMLbeans giving problem with WebSphere

sudipto das
Greenhorn

Joined: Jul 25, 2005
Posts: 1
I am new to XMLbeans. I tried parsing the file with a program that runs through command prompt. But when I try to run it through Websphere, it gives the following runtime error:

java.lang.UnsupportedClassVersionError: noNamespace/KFDUpdateDocument (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:703)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
Exception in thread "main"


The jar file created from the xsd is KFDUpdate.and also I tried another program with the same logic...It gives this runtime error

java.lang.UnsupportedClassVersionError: org/apache/xmlbeans/XmlException (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:703)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
Exception in thread "main"


I am not sure if it is pointing to the correct jar files. or if there is some problem with the classpath.

Does anybody have any idea.
 
Consider Paul's rocket mass heater.
 
subject: XMLbeans giving problem with WebSphere