• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.NoClassDefFoundError: error when try to start websphere server

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,
I installed WSApplication server 6.When I try to start the server using eclipse i am getting error of

java.lang.NoClassDefFoundError: Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb/jar;C:/Program
Caused by: java.lang.ClassNotFoundException: Files.IBM.WebSphere.AppServer.java.jre.lib.ext.ibmorb.jar;C:.Program
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"


When I googled i found the soluton to this is

The "telling" thing about this error message is the fact that the text immediately after the NoClassDefFoundError is "Files/IBM/". This looks like you have a space in your classpath (i.e., "C:\Program Files\...")

You probably need to surround the directories that have a space in the name with double quotes.

In my case also i have one space between
java.lang.NoClassDefFoundError: Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb/jar;

If the space is the problem how to remove the space....or sapce is not the problem then how to resolve this?

Please help

Thanks in advance

Regards
Priya
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic