Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4494

Groovlet Class Loading on Tomcat 6 failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 1.6.9, 1.7.5
    • None
    • Groovlet / GSP
    • None
    • Windows 7 64 bit, Tomcat 6.0.29

    Description

      Classes in the classpath (/WEB_INF/lib/*.jar) do not seem to be loading in Tomcat 6. The same code runs fine in Tomcat 5.5.

      Sample Error:
      "
      SEVERE: Servlet.service() for servlet GroovyServlet threw exception
      java.lang.NoClassDefFoundError: Could not initialize class net.sf.json.JSONObject
      "

      (Included sample project for Groovy 1-7, with log files from Tomcat and Groovlet. Groovy 1-6 zip was too large, but similar errors.)

      Attachments

        1. example-1-7.zip
          6.36 MB
          Steven Olsen

        Activity

          People

            Unassigned Unassigned
            bootz15 Steven Olsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: