Hi,

We require JDK 1.6 for Tuscany 2.x. Are you on JDK 1.5?

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 May 5, 2011, at 9:56 AM, Monosij Dutta-Roy wrote:

> Getting this error when trying to install from Maven on a new machine:
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 
> (default-compile) on project qmController: Compilation failure
> [ERROR] 
> /home/imracif/qm.01/qmController/src/main/java/org/rd/qm/impl/QueryComposerImpl.java:[5,-1]
>  cannot access org.oasisopen.sca.annotation.Service
> [ERROR] bad class file: 
> /home/imracif/.m2/repository/org/apache/tuscany/sca/tuscany-sca-api/2.0-Beta2/tuscany-sca-api-2.0-Beta2.jar(org/oasisopen/sca/annotation/Service.class)
> [ERROR] class file has wrong version 50.0, should be 49.0
> 
> It happens for one of my contributions (qmController) - others are fine.
> Other contributions which also have Service seem to be fine with other 
> Tuscany jars.
> 
> It builds fine on my dev machine but then I have been running it there for a 
> while.
> 
> Just checking to see if this an external issue - ie on oasis?
> 
> Thanks.
> 
> monosij

Reply via email to