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 Version 1

Reported by: gary@… Owned by: ricci@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: tomcat6

Description (last modified by jmroot (Joshua Root))

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)

Change History (1)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: java version 5 required removed
Owner: changed from macports-tickets@… to ricci@…
Priority: HighNormal
Summary: tomcat6 on snow leopard does not compile appears to be Java version problemtomcat6 on snow leopard does not compile, appears to be Java version problem
Note: See TracTickets for help on using tickets.