Hi,

It seems that the thrift jar [1] was compiled using JDK 6 and it's not 
compatible with JDK 5.

The thrift project is still struggling to get the official jar into maven. See 
[2].

[1] http://mvnrepository.com/artifact/org.apache.hadoop/libthrift/0.5.0.0
[2] https://issues.apache.org/jira/browse/THRIFT-363

I'm not sure what we can do. Do you guys have any backdoor for jars not in 
maven repo?

Thanks,
Raymond
________________________________________________________________ 
Raymond Feng
[email protected]
Apache Tuscany PMC member and committer: tuscany.apache.org
Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com
Personal Web Site: www.enjoyjava.com
________________________________________________________________

On Feb 23, 2011, at 5:49 PM, Apache Hudson Server wrote:

> See 
> <https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/org.apache.wink$wink-thrift-provider/436/changes>
> 
> Changes:
> 
> [lresende] WINK-337 - Moving the new thrift providing to proper providers 
> directory, and adding it to the maven build
> 
> ------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Apache Wink Providers :: Thrift Provider
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/hadoop/libthrift/0.5.0.0/libthrift-0.5.0.0.pom
> 
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/hadoop/libthrift/0.5.0.0/libthrift-0.5.0.0.jar
> 
> [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] Copying 4 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1 source file to 
> <https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/org.apache.wink$wink-thrift-provider/ws/target/classes>
> [HUDSON] Archiving 
> <https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/org.apache.wink$wink-thrift-provider/ws/pom.xml>
>  to 
> /home/hudson/hudson/jobs/Wink-Trunk-JDK1.5/modules/org.apache.wink$wink-thrift-provider/builds/2011-02-24_01-39-32/archive/org.apache.wink/wink-thrift-provider/1.1.2-incubating-SNAPSHOT/pom.xml
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> <https://hudson.apache.org/hudson/job/Wink-Trunk-JDK1.5/org.apache.wink$wink-thrift-provider/ws/src/main/java/org/apache/wink/providers/thrift/WinkThriftProvider.java>:[37,-1]
>  cannot access org.apache.thrift.TBase
> bad class file: 
> /export/home/hudson/.m2/repository/org/apache/hadoop/libthrift/0.5.0.0/libthrift-0.5.0.0.jar(org/apache/thrift/TBase.class)
> class file has wrong version 50.0, should be 49.0
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 9 minutes 38 seconds
> [INFO] Finished at: Wed Feb 23 20:49:21 EST 2011
> [INFO] Final Memory: 57M/218M
> [INFO] 
> ------------------------------------------------------------------------
> 

Reply via email to