ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Xie" <txi...@hotmail.com>
Subject java.lang.ClassNotFoundException: sj
Date Sun, 03 Feb 2002 18:55:06 GMT
I defined build.compiler=sj in env.properties, but I got this error on
runing a ant task. Could some one shed me a light?

Thanks,
Tao

C:\mytests\demo\dev\osprey\src\build-common.xml:29: sj can't be found.
--- Nested Exception ---
java.lang.ClassNotFoundException: sj
       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:120)
       at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.resolv
eClassName(CompilerAdapterFactory.java:136)
       at
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
piler(CompilerAdapterFactory.java:122)
       at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:450)
       at org.apache.tools.ant.Target.execute(Target.java:153)
       at org.apache.tools.ant.Project.runTarget(Project.java:898)
       at org.apache.tools.ant.Project.executeTarget(Project.java:536)
       at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
       at org.apache.tools.ant.Target.execute(Target.java:153)
       at org.apache.tools.ant.Project.runTarget(Project.java:898)
       at org.apache.tools.ant.Project.executeTarget(Project.java:536)
       at org.apache.tools.ant.Project.executeTargets(Project.java:510)
       at org.apache.tools.ant.Main.runBuild(Main.java:421)
       at org.apache.tools.ant.Main.main(Main.java:149)


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


Mime
View raw message