ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Krishnaswamy <rajkris...@yahoo.com>
Subject Help Needed
Date Thu, 02 Oct 2003 21:11:07 GMT
I am using a Linux environment preloaded with java
related stuffs at /usr/bin, the installation of Ant
seems to be working fine. But when I try to run a
small sample program in java the ant throws an
exception as shown below

bash-2.05b$ ant
Buildfile: build.xml

BUILD FAILED
java.lang.ExceptionInInitializerError: [exception was
java.lang.NoClassDefFoundError:
com/ibm/bsf/BSFManager]
        at
java.lang.ClassLoader.resolveClass0(ClassLoader.java:native)
        at
java.lang.ClassLoader.resolveClass(ClassLoader.java:199)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:156)
        at java.lang.Class.forName(Class.java:74)
        at java.lang.Class.forName(Class.java:43)
        at
org.apache.tools.ant.Project.init(Project.java:274)
        at
org.apache.tools.ant.Main.runBuild(Main.java:582)
        at
org.apache.tools.ant.Main.start(Main.java:196)
        at
org.apache.tools.ant.Main.main(Main.java:235)

Total time: 0 seconds
java.lang.ExceptionInInitializerError: [exception was
java.lang.NoClassDefFoundError:
com/ibm/bsf/BSFManager]
        at
java.lang.ClassLoader.resolveClass0(ClassLoader.java:native)
        at
java.lang.ClassLoader.resolveClass(ClassLoader.java:199)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:156)
        at java.lang.Class.forName(Class.java:74)
        at java.lang.Class.forName(Class.java:43)
        at
org.apache.tools.ant.Project.init(Project.java:274)
        at
org.apache.tools.ant.Main.runBuild(Main.java:582)
        at
org.apache.tools.ant.Main.start(Main.java:196)
        at
org.apache.tools.ant.Main.main(Main.java:235)
[exception was java.lang.NoClassDefFoundError:
com/ibm/bsf/BSFManager]
bash-2.05b$


I am unable to figure out what is wrong!!

Do anyone have an idea of what could be wrong?
can anyone help me in making it work?

Thanks in advance.
Rajesh.

=====
Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world. - Albert Einstein.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Mime
View raw message