Using weblogic.Admin utility

Hi,

I am trying to use weblogic.Admin tool to perform some funcitons, however I keep having this error:

Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Admin

classpath:
C:\Java\jdk1.5.0_01\bin;C:\apache-tomcat-5.5.12\bin\bootstrap.jar;C:\bea81\weblogic81\server\bin

I set classpath already. I even ran setENV command, but didn't work. Any ideas?
dkim18Asked:
Who is Participating?
 
rajesh_balaCommented:
Kim,

Can you let us know what are you trying to do with admin util?. Can you plz give the procedure in the way you run it. Like...

1. navigate to xxx
2. Run yyy etc

I believe it is not able to load one of the required classes. NoClassDefFoundError will be thrown when a class in not able to load due to the dependency on the other which is not in classpath.

can you do the following after you run setenv and paste it here.

echo %CLASSPATH%
echo %PATH%
0
 
dkim18Author Commented:
I had to set classpath manually.
....\lib\weblogic.jar
I will give you point anyway.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.