Hi,

This must be because of JDBC 4.1 features that are in JDK7. @Chanika, maybe
we accidentally put an @Overrides annotation for a JDK7 specific method in
ResetSetWrapper, where it will fail in JDK6.

Cheers,
Anjana.


On Tue, Feb 25, 2014 at 11:52 AM, Geeth Munasinghe <ge...@wso2.com> wrote:

> Hi Chanika
>
> I am getting following compilation error when I try to run carbon-data on
> my local machine.
> It does build on jenkins machine. Do you have any idea what would have
> caused this issue?
>
> My java version is  1.6.0_38
> Jenkins machine java version javac 1.7.0_50
>
> INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 50.335s
> [INFO] Finished at: Tue Feb 25 11:43:08 IST 2014
> [INFO] Final Memory: 63M/277M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
> (default-compile) on project org.wso2.carbon.dataservices.core: Compilation
> failure: Compilation failure:
> [ERROR]
> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[258,34]
> cannot find symbol
> [ERROR] symbol  : method getObject(java.lang.String,java.lang.Class<T>)
> [ERROR] location: interface java.sql.ResultSet
> [ERROR]
> [ERROR]
> /home/geeth/workspace/git/data/carbon-data/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/ResultSetWrapper.java:[262,34]
> cannot find symbol
> [ERROR] symbol  : method getObject(int,java.lang.Class<T>)
> [ERROR] location: interface java.sql.ResultSet
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.wso2.carbon.dataservices.core
>
>
>
>
> *G. K. S. Munasinghe*
> *Software Engineer,*
> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
> *lean.enterprise.middleware.*
>
> email: ge...@wso2.com
> phone:(+94) 777911226
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to