Avatar of joinsaigon
joinsaigon asked on

error when run Websphere App server 6.0

java.lang.NoClassDefFoundError: Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb/jar;C:/Program
Exception in thread "main"
how correct???
Java App Servers

Avatar of undefined
Last Comment

8/22/2022 - Mon

The NoClassDefFoundError: usually contains the name of the class that JVM is unable to find. Could you supply the entire error message which may contain that class name?

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

I had the same error trying to start Websphere Application Server 6.0 from Eclipse

you may find as I did one or more VM arguments in the arguments tab of the launch configuration properties lack quotes around them.  In my case it was this particular VM argument, which was causing my problem.
"-Xbootclasspath/p:C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar;C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -Xms50m -Xmx256m" 

Open in new window


The only difference being that your original doesn't include double quotes around this portion:

-Xbootclasspath/p:C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar;C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -Xms50m -Xmx256m

and the "corrected one" does.

Your help has saved me hundreds of hours of internet surfing.

I've given up trying to deploy to servers directly from Eclipse as I do with other J2EE servers at this point in favor of using the websphere application toolkit v6.0.  

Have fun trying to get EAR files to deploy to WAS.  I'd love to hear from you if you do.

Are you using Eclipse, or Rational Application Developer (RAD)?

Are you asking about getting the Application on the AppServer?
If so, from Eclipse, or using the Application Server Toolkit (AST)?
If you are using Eclipse, which version?