Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3697

java.lang.NoClassDefFoundError since updated to 2.2.3.1 version struts2-core, xwork-core.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.2.3.1
    • 2.2.3
    • Core Actions
    • Windows 7 32 bits, Eclipse Indigo 1.4.1 20110909-1818 (Eclipse Platform 3.7.1.M20110909-1335), Tomcat 7.0.22, java.runtime.name=Java(TM) SE Runtime Environment, java.runtime.version=1.6.0_20-b02, java.vm.version=16.3-b01

    • Patch

    Description

      Download the struts2 examples from http://code.google.com/p/struts2-examples/downloads/list.
      Example: http://code.google.com/p/struts2-examples/downloads/detail?name=Basic_Struts_2_Ant_2_2_1.zip

      If the jar included in the Eclipse lib are from version 2.2.1 the example runs well.
      Replace with the 2.2.3.1 versions: struts2-core-2.2.3.1.jar and xwork-core-2.2.3.1.jar and run the example.
      The web page will report an "HTTP: 404 The requested resource (/Esborrar_02/) is not available."

      Recover the 2.2.1 jar version an it's running propertly.

      I'm a newbie and maybe it's a configuration error, however replacing the libs it's enougth to get the example running.

      Attachments

        Activity

          People

            Unassigned Unassigned
            carles Carles Millan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: