Results 1 to 4 of 4
  1. #1
    fred is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default java.lang.NoClassDefFoundError

    I'm trying to convert from HTML to PDF.

    but when I run the code it gives me the following error:
    Java Code:
    java.lang.NoClassDefFoundError: org/apache/avalon/framework
    /configuration/ConfigurationException
    what's the problem?
    thanks

  2. #2
    sathish_2111 is offline Member
    Join Date
    Jul 2007
    Posts
    17
    Rep Power
    0

    Default

    I think some library file which has class (org/apache/avalon/framework
    /configuration/ConfigurationException) is missing

  3. #3
    Seemster is offline Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    0

    Default

    your missing the avalonframework jar. go to DocJar: Search Open Source Java API and put in the exception. it'll search and provide you with a list of downloadable jars containing the missing files. or look locally and find the jar and add it to your classpath.

  4. #4
    fred is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    yes, i fixed it
    you were right I was missing the avalonframework
    thanks a lot

Similar Threads

  1. Replies: 2
    Last Post: 01-20-2014, 08:45 AM
  2. Replies: 2
    Last Post: 07-21-2012, 02:15 AM
  3. java.lang.NoClassDefFoundError: com.ibm.ws.orb.GlobalORBFactory
    By hawkeye in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 06-16-2008, 11:56 AM
  4. java.lang.NoClassDefFoundError
    By J_a_y in forum New To Java
    Replies: 2
    Last Post: 08-07-2007, 12:51 PM
  5. Replies: 2
    Last Post: 08-01-2007, 06:26 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
  •