maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Kaspar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6291) Error: Could not find or load main class $(concat_lines
Date Wed, 04 Oct 2017 13:08:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-6291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191220#comment-16191220
] 

Dominik Kaspar commented on MNG-6291:
-------------------------------------

There's also a related issue on Stack Overflow that does not have a satisfactory answer:
https://stackoverflow.com/questions/41256617/error-could-not-find-or-load-main-class-concat-lines-maven-3-3-9-in-solaris

> Error: Could not find or load main class $(concat_lines
> -------------------------------------------------------
>
>                 Key: MNG-6291
>                 URL: https://issues.apache.org/jira/browse/MNG-6291
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.9
>         Environment: SunOS 5.10 Generic_150401-18 i86pc i386 i86pc
>            Reporter: Dominik Kaspar
>
> 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.
> {code}
> $ /app/jenkins/tools/hudson.tasks.Maven_MavenInstallation/mvn33/bin/mvn clean
> Error: Could not find or load main class $(concat_lines
> {code}
> There seems to be something wrong with how the MAVEN_OPTS are built:
> {code}
> MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message