Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Newbie question-> error compiling
Newbie question-> error compiling [message #122930] Sat, 29 November 2003 05:33
Eclipse UserFriend
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...
Previous Topic:eclipse-plugins.2y.net could not be found??
Next Topic:Eclipse : newbie question - importing
Goto Forum:
  


Current Time: Fri May 09 15:06:47 EDT 2025

Powered by FUDForum. Page generated in 0.03249 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top