Topic
  • 3 replies
  • Latest Post - ‏2014-08-08T15:04:46Z by G.Prabaharan
SystemAdmin
SystemAdmin
14225 Posts

Pinned topic websphere application server not starting second time

‏2013-01-29T09:20:05Z |
Hi all,

I am using RAD for websphere 8.5. I created the websphere application server. When run the server , it is running properly. But, when I run it for the second time, it does not run. It throws the 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.loadClassHelper(ClassLoader.java:665)
at java.lang.ClassLoader.loadClass(ClassLoader.java:644)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
Could not find the main class: Files. Program will exit.
Any inputs regarding this is highly appreciated.

Thanks,
Dinakar.K
Updated on 2013-02-04T07:16:53Z at 2013-02-04T07:16:53Z by SystemAdmin
  • YWTX_vijay_kumar
    YWTX_vijay_kumar
    2 Posts

    Re: websphere application server not starting second time

    ‏2013-01-29T18:34:30Z  
    you are getting classNotFoundException the server is unable to get the reqiured class at run time search for that required class and keep it in libraries.xml or in server shared libraries
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: websphere application server not starting second time

    ‏2013-02-04T07:16:53Z  
    Hi ,

    Thanks for your reply. Can you please suggest how to know which jar is missing? Any inputs are highly welcome.

    Thanks,
    Dinakar.K
  • G.Prabaharan
    G.Prabaharan
    4 Posts

    Re: websphere application server not starting second time

    ‏2014-08-08T15:04:46Z  

    Hi,

    I'm facing the exact same issue.Any solution would be helpful.

    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.loadClassHelper(ClassLoader.java:699)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:678)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:661)
    Could not find the main class: Files.  Program will exit.