Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4373

Maven war plugin WebappStructure error

    Details

    • Complexity:
      Undetermined

      Description

      When I try to run "mvn install" it fails with:

       
      Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
      ---- Debugging information ----
      message             : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
      cause-exception     : com.thoughtworks.xstream.converters.reflection.ObjectAccessException
      cause-message       : Cannot construct org.apache.maven.plugin.war.util.WebappStructure as it does not have a no-args constructor
      class               : org.apache.maven.plugin.war.util.WebappStructure
      required-type       : org.apache.maven.plugin.war.util.WebappStructure
      path                : /webapp-structure
      line number         : 1
      -------------------------------
      

      It's a known maven-war-plugin bug on JDK 1.7. We need to upgrade that plugin.

      See http://stackoverflow.com/a/7546271

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raff Rafal Korytkowski
                Reporter:
                raff Rafal Korytkowski
                Designated Committer:
                Rafal Korytkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: