Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-209

modelEncoding com.thoughtworks.xstream.mapper.CannotResolveClassException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1-beta-1
    • None
    • None
    • None
    • Mac OS X 10.5, Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)

    Description

      I get the same error as MWAR-191, a CannotResolveClassException using Maven 2.2.0 and the maven 2.x WAR plugin.

      Originally we were getting the maven war plugin 2.1-alpha-2 because of some other build environment stuff, but I've tried forcing it to 2.1-beta-1 for this build and it still happens. If I force it to the 2.0.2 plugin, it passes building.

      Attached is mvn -X output using the 2.1-beta-1 WAR plugin.

      Attachments

        1. model-failure.zip
          93 kB
          Benjamin Reed

        Issue Links

          Activity

            People

              snicoll Stephane Nicoll
              rangerrick Benjamin Reed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: