Opened 15 years ago
Closed 14 years ago
#22498 closed defect (fixed)
tomcat6 on snow leopard does not compile, appears to be Java version problem
Reported by: | gary@… | Owned by: | ghosthound |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | scooper@… | |
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 (8)
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: | High → Normal |
Summary: | tomcat6 on snow leopard does not compile appears to be Java version problem → tomcat6 on snow leopard does not compile, appears to be Java version problem |
comment:2 Changed 15 years ago by scooper@…
Cc: | scooper@… added |
---|
comment:3 Changed 15 years ago by scooper@…
comment:6 Changed 15 years ago by arto.bendiken@…
Note that #22498 is marked as a duplicate of this, but appears to be a separate problem and should probably be reopened.
comment:8 Changed 14 years ago by ghosthound
Resolution: | → fixed |
---|---|
Status: | new → closed |
tomcat 6.0.28 appears to build fine on SL, committed in r69689.
Cc Me!