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

Groovlet Class Loading on Tomcat 6 failing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 1.6.9, 1.7.5
    • Fix Version/s: None
    • Component/s: Groovlet / GSP
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: