[MacPorts] #22498: tomcat6 on snow leopard does not compile appears to be Java version problem
MacPorts
noreply at macports.org
Thu Nov 12 10:13:24 PST 2009
#22498: tomcat6 on snow leopard does not compile appears to be Java version problem
-------------------------------------+--------------------------------------
Reporter: gary@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: High | Milestone:
Component: ports | Version: 1.8.1
Keywords: java version 5 required | Port: tomcat6
-------------------------------------+--------------------------------------
Hello,
I tried to install tomcat6 on my new mac with snow leopard, but it fails
in org.apache.commons.dbcp. The errors are listed below, and it appears
that the dbcp code was never built against java 6, and this is the only
version of Java on the machine. I notice that macports does not include
loading Java versions. So, I am not sure how you will fix this
dependency, except to include some kind of a note in the install process.
By the way, I compared the version 5 and 6 of java and it appears that the
dbcp code will compile just fine in java 5.
Sincerely yours,
Gary Griswold
P.S. The actual error messages follow:
org.apache.commons.dbcp.PoolingConnection is not abstract and does not
override abstruse method createStruct(String, Object[]) in
java.sql.Connection
org.apache.commons.dbcp.PoolingDataSource is not abstract and does not
override abstract method isWrapperFor(Class) in java.sql.Wrapper
org.apache.commons.dbcp.cpdsadapter.ConnectionImpl is not abstract and
does not override abstract method createStruct(String,Object[])
org.apache.commons.dbcp.cpdsadapter.PooledConnectionImpl is not abstract
and does not override abstract method
removeStatementEventListener(StatementEventListener) in
javax.sql.PooledConnection
org.apache.commons.bcp.DelegatingStatement cannot implement isClosed() in
java.sql.Statement; attempting to assign weaker access privileges; was
public
org.apache.commons.dbcp.datasources.PerUserPoolDataSource is not abstract
and does not override abstract method isWrapperFor(Class)
org.apache.commons.dbcp.datasources.SharedPoolDataSource is not abstract
and does not override abstract method isWrapperFor(Class)
--
Ticket URL: <http://trac.macports.org/ticket/22498>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list