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

Alex Heneveld commented on BROOKLYN-42:
---------------------------------------

Some more references to the second error with IBM JDK is at 
https://jira.codehaus.org/browse/GRECLIPSE-1199 .

However I have not been able to succeed with any of the workarounds mentioned, 
including explicitly adding org.eclipse.core.contenttype-3.4.100.v20100505-1235.

I think we should remove the groovy compiler.  With YAML it is less important.  
There is not much any more -- 3 groovy classes in utils/groovy and several 
dozen tests/examples.

> errors building with IBM JDK
> ----------------------------
>
>                 Key: BROOKLYN-42
>                 URL: https://issues.apache.org/jira/browse/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 errors:
> * 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  
> http://maven.40175.n5.nabble.com/Upgrade-to-3-1-1-causes-problems-td5776875.html
>   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-1.7.0.7.0.x86_64/jre
> 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
(v6.3.4#6332)

Reply via email to