yann bajard

Greenhorn
+ Follow
since Mar 17, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by yann bajard

hi ben linus,

You have to specify the jars files in the -classpath option (all the jars located in Axis2-1.5.1-bin directory) and not the directory.

java -classpath D:\Axis 2Tutorial/axis2-1.5.1-bin/axis2-1.5.1/lib/axis2-adb-1.5.1.jar:\Axis 2Tutorial/axis2-1.5.1-bin/axis2-1.5.1/lib/axis2-adb-codegen-1.5.1.jar.... net/roseindia/Test

(i don't remember if the seperator between jar files is ':' or something else ! )


I guess, with -classpath option, if you specify a directory, the jvm is looking for .class files and not jars ???

7 years ago
hi,

I was stuck on the same problem, and i fix it !
The classs org.apache.axis2.client is under axis2-1.5.1/bin/lib/axis2-kernel-1.5.1.jar.

The problem is you have to specify the classpath during the compilation and the execution (even if you set environment variables):
javac -extdirs ~/axis2-1.5.1-bin/lib/ net/roseindia/*.java
and
java -classpath axis2-1.5.1/bin/lib/axis2-kernel-1.5.1.jar [and all your jars] net/roseindia/Test

Hope that helps !
7 years ago