Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Using weblogic.Admin utility

Posted on 2006-06-16
2
Medium Priority
?
998 Views
Last Modified: 2012-05-05
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?
0
Comment
Question by:dkim18
2 Comments
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 750 total points
ID: 16930307
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
 

Author Comment

by:dkim18
ID: 16943904
I had to set classpath manually.
....\lib\weblogic.jar
I will give you point anyway.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question