ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subbarayalu, Sivakumar" <subbaray...@hp.com>
Subject Unsupported version error
Date Mon, 01 Mar 2004 17:37:53 GMT
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
View raw message