workspacewebsphere-7

Websphere Startup Error


I am trying to set up workspace using Websphere 7.0 application server on RAD IDE. I am using Java 1.6

When ever i try to start my server it throws following error:

Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
Could not find the main class: Files.  Program will exit.

What would be reason for this? Did anyone get this kind of error before.

Note: I tried googling out and people suggest try changing classpath, which i tried and didn't work.


Solution

  • It looks like something, somewhere is failing to quote an argument containing C:\Program Files, probably due to custom JVM configuration. If you use the -script option to bin\startServer.bat, you might be able to determine where things are going wrong. This might be a product issue, so if you can't figure it out (or you don't think your configuration is to blame), then you might consider opening a PMR with IBM.