ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GNF, Contractor)" <Luis.Cone...@gnf.com>
Subject RE: Unsupported version error
Date Mon, 01 Mar 2004 18:29:06 GMT
Some errors like yours have been discused in this list in the past. You can check them at http://marc.theaimsgroup.com/?l=ant-user&w=2&r=1&s=Unsupported+Version&q=b

Check them and maybe you can find the answer to your question.

HTH
Luis 

-----Original Message-----
From: Subbarayalu, Sivakumar [mailto:subbarayalu@hp.com]
Sent: Monday, March 01, 2004 11:38 AM
To: user@ant.apache.org
Subject: Unsupported version error


Hi

Iam using a java based GUI application and calling ant task to deploy by
files. I tried using ant with JDK 1.3 vrsion ,it works fine ,when I
tired using JDK 1.4 it gives me an error Saying Unsupported versio
error:

Here is the error message:
************************************************************************
******
Unable to load default ProjectHelper due to
java.lang.UnsupportedClassVersionErr
or: org/xml/sax/SAXException (Unsupported major.minor version 48.0)
        at
org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.jav
a:228)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:87)
        at JetInstall.invokeBuildScript(JetInstall.java:18)
        at InstalFrame$2.construct(InstalFrame.java:226)
        at SwingWorker$2.run(SwingWorker.java:106)
        at java.lang.Thread.run(Thread.java:484)
--- Nested Exception ---
java.lang.UnsupportedClassVersionError: org/xml/sax/SAXException
(Unsupported ma jor.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at
org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.jav
a:224)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:87)
        at JetInstall.invokeBuildScript(JetInstall.java:18)
        at InstalFrame$2.construct(InstalFrame.java:226)
        at SwingWorker$2.run(SwingWorker.java:106)
        at java.lang.Thread.run(Thread.java:484)

************************************************************************
***
Please give a suggestion??


Regrds
Siva

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message