ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Marco.Mistr...@nokia.com>
Subject problem in using Ant for running a CORBA client
Date Thu, 07 Mar 2002 08:12:35 GMT
hi all,
	i am using Ant for running a CORBA client.
i am using the built in task <java>, but i am always receiving
the following exception:


D:\SBS>ant -buildfile runSunClient.xml
Buildfile: runSunClient.xml

run:

BUILD FAILED

java.lang.NoClassDefFoundError: org/omg/CORBA/portable/IDLEntity
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
.java:862)
        at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
der.java:916)
        at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:898
)
        at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:801
)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.getMethod0(Native Method)
        at java.lang.Class.getMethod(Class.java:888)
        at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:12
3)
        at org.apache.tools.ant.taskdefs.Java.run(Java.java:305)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:127)
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:88)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 1 second
org/omg/CORBA/portable/IDLEntity

it seems that it cannot find that class. But how come, it is in the default
CORBA package that comes with JDK.

can anyone help me in solving the problem??

thanx in advance and regards
	marco




--
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