Results 1 to 2 of 2
  1. #1
    sunny_sykes is offline Member
    Join Date
    Mar 2009
    Posts
    4
    Rep Power
    0

    Default java.lang.NoClassDefFound --Any way to handle this

    Hi ,
    Any way to handle this I am using spring version :confused:2.0.3.

    --------------------------------------------------------------------------------

    org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver -- Ignoring handler [org.springframework.scripting.config.LangNamespace Handler]: problem with class file or dependent class
    java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at org.springframework.scripting.config.LangNamespace Handler.class$(LangNamespaceHandler.java:45)
    at org.springframework.scripting.config.LangNamespace Handler.init(LangNamespaceHandler.java:45)
    at org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver.initHandlerMappings(DefaultNam espaceHandlerResolver.java:123)
    at org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver.<init>(DefaultNamespaceHandler Resolver.java:96)
    at org.springfra

  2. #2
    anjali is offline Member
    Join Date
    Mar 2009
    Posts
    9
    Rep Power
    0

    Default

    hi sunny,
    u r calling forName method right?
    it might be having string argument that is not matching with any of ur class name.that why it is giving classnotfound exception

Similar Threads

  1. handle FileNotFoundException
    By minifish in forum New To Java
    Replies: 13
    Last Post: 11-08-2008, 02:01 AM
  2. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  3. Better way to handle exceptions
    By javaplus in forum Advanced Java
    Replies: 2
    Last Post: 01-16-2008, 06:47 PM
  4. how to handle exceptions
    By paty in forum Advanced Java
    Replies: 2
    Last Post: 08-05-2007, 04:17 AM
  5. Replies: 1
    Last Post: 06-07-2007, 05:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •