Opened 15 years ago
Last modified 14 years ago
#22498 closed defect
tomcat6 on snow leopard does not compile appears to be Java version problem — at Initial Version
Reported by: | gary@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | tomcat6 |
Description
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)