> From: Toby Hobson [mailto:[email protected]]
> Subject: tomcat-dbcp compilation failures
> I'm now seeing compilation failures on the tomcat-dbcp project:
> tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java
> 53: error: BasicDataSource is not abstract and does not override abstract
> method getParentLogger() in CommonDataSource
> [javac] public class BasicDataSource implements DataSource {
Looks like you're using an inappropriate JDK level. As I recall, Tomcat 7 must
be built with JDK 6, although it can run on JRE/JDK 7 once built.
Sun/Oracle introduced incompatibilities in JDK 7, so developers cannot support
both in a single version of the code. Tomcat 8 will use JDK 7.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]