brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Heneveld (JIRA)" <>
Subject [jira] [Created] (BROOKLYN-42) errors building with IBM JDK
Date Wed, 23 Jul 2014 23:38:38 GMT
Alex Heneveld created BROOKLYN-42:

             Summary: errors building with IBM JDK
                 Key: BROOKLYN-42
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Alex Heneveld

When trying to build a fresh Brooklyn checkout with `mvn clean install`, I get some weird

* java.lang.LinkageError: org.apache.maven.wagon.providers.http.httpclient.impl.cookie.BrowserCompatSpec

* Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener
(when the eclipse JDT compiler is loading to compile)

This is on RHEL 6.5, maven 3.2.1, IBM jdk 1.7.0.  More version info below.

A quick google search turned up
 which suggested changing the plexus-classworlds-2.5.1.jar to 2.4.  (The first error above
occurs with 2.5.1, the second when it is replaced by 2.4.)

# mvn -version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T11:37:52-06:00)
Maven home: /usr/share/apache-maven
Java version: 1.7.0, vendor: IBM Corporation
Java home: /usr/lib/jvm/java-1.7.0-ibm-
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-431.20.3.el6.x86_64", arch: "amd64", family: "unix"

# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr7-20140410_01(SR7))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20140409_195732 (JIT
enabled, AOT enabled)
J9VM - R26_Java726_SR7_20140409_1418_B195732
JIT  - r11.b06_20140409_61252
GC   - R26_Java726_SR7_20140409_1418_B195732_CMPRSS
J9CL - 20140409_195732)
JCL - 20140409_01 based on Oracle 7u55-b13

This message was sent by Atlassian JIRA

View raw message