Win a copy of Spring Boot in Practice this week in the Spring forum!

Yifei Hong

Greenhorn
+ Follow
since Jun 06, 2004
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
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Yifei Hong

Oops, my fault, different versions of the jar files.
16 years ago
I am new to Axis and after following all installation/setup instructions, the axis webservice is up and happyaxis.jsp works fine.

When I try to execute the following command,

>java org.apache.axis.client.AdminClient list
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:4
5)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45
)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java
:33)
at org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)

Seems to me that the code can not find class org.apache.commons.logging.LogFactory. While I think I have included required jars in my classpath as below.

>set classpath
CLASSPATH=C:\software\axis-1_4\lib\axis.jar;C:\software\axis-1_4\lib\commons-dis
covery.jar;C:\software\axis-1_4\lib\commons-logging.jar;C:\software\axis-1_4\lib
\jaxrpc.jar;C:\software\axis-1_4\lib\saaj.jar;C:\software\axis-1_4\lib\log4j-1.2
.8.jar;C:\software\axis-1_4\lib\wsdl4j.jar;C:\software\axis-1_4\lib\xml-apis.jar
;C:\software\axis-1_4\lib\xercesImpl.jar

Now I do not understand why that class inside commons-logging.jar could not be found. If the classpath does not work, org.apache.axis.client.AdminClient can not be found at the first place.

Appreciate for your kind help.
16 years ago
Lawrence,

Really appreciate for your effort sharing with us the valuable information.

Besides Joyce's question, could you please also let us know something about your background with J2EE? Just want to estimate if I am in a right position to shoot for SCEA? Probably not ....

It would be better for us to pass SCWCD and SCBCD first, right?

Again, thank you very much.

Yifei
18 years ago
Congrats !!!

Would appreciate if you could share with us your experience in acing SCEA.
18 years ago
You need to get logged in there. There are more than 300 questions, which are of the equivalent level of difficutly as the real exam.
18 years ago
http://www.levteck.com/ is good place and you won't miss it if you want to challenge yourself with tough questions.

http://www.javacertificate.com/ is also good.
18 years ago
JavaRanch is a great resource with a lot of helpful and knowledged people.

Heading to SCWCD ....
18 years ago