Newbie question-> error compiling [message #122930] |
Sat, 29 November 2003 05:33 |
Eclipse User |
|
|
|
Originally posted by: no.spam.please.now
Hello all,
im doin some experiments with java and webservices, and i just
wanted to try Eclipse (3.0M4 running on Windows2000).
I have this example from AXIS package (it's called GetInfo) and
it compiles fine from commandline with
javac -classpath "%AXISPATH%" GetInfo.java
it runs also fine with
java -cp "%AXISPATH%" GetInfo <params>
so i tried to create a project in Eclipse and add this GetInfo.java.
I couldnt find how to add an environment variable classpath like %
AXISCLASSPATH% (is it possible?) so i manually added all the .jar files in the
project. The Compile goes fine but the app is not executed correctly:
the JVM Launcher says "Could not find the main class. Program will exit!" while
console says "java.lang.NoClassDefFoundError: org/apache/axis/utils/Options
Exception in thread "main"
The strange fact is that i tried to do the same thing in Netbeans (import
the java, add all the JARs) and it runs...
Any idea?
thank you very much
PS Of course the webservice in AXIS is ok...
|
|
|
Powered by
FUDForum. Page generated in 0.03249 seconds