Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6291

Error: Could not find or load main class $(concat_lines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.3.9
    • None
    • None
    • None
    • SunOS 5.10 Generic_150401-18 i86pc i386 i86pc

    Description

      I use Jenkins to install different versions of Maven. I've installed 3.0.4, 3.1.1, 3.2.5, 3.3.9, and 3.5.0 to build a simple project, which all worked fine on Linux, but on Solaris I get a failure with only the version 3.3.9.

      $ /app/jenkins/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn clean
      Error: Could not find or load main class $(concat_lines
      

      There seems to be something wrong with how the MAVEN_OPTS are built:

      MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dokaspar Dominik Kaspar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: