[MacPorts] #21037: commons-dbcp does not compile

MacPorts noreply at macports.org
Thu Sep 24 02:40:51 PDT 2009


#21037: commons-dbcp does not compile
-------------------------------+--------------------------------------------
 Reporter:  johan@…            |       Owner:  jberry@…           
     Type:  defect             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:                     
 Keywords:                     |        Port:  commons-dbcp       
-------------------------------+--------------------------------------------

Comment(by lorenzo@…):

 I had a similar problem. It seems that Snow Leopard DOES NOT come with a
 JDK1.5! It creates symbolic links to it but these point in fact to
 JVM1.6!! I solved the problem by simply getting back JDK1.5 from my
 backup, edited the symbolic links and changed the default JAVA search
 order using Utilities-->Java Preferences. Once done, my java problems were
 gone!

 Hope it works for you guys too;
 Kind regards
 Lorenzo.



 Replying to [ticket:21037 johan@…]:
 > I tried installing tomcat6, but the installation fails on compiling
 commons-dbcp.
 >
 > {{{
 > The errors message:
 > Command output:     [javac]        ^
 >     [javac]
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_java_commons-dbcp/work/commons-
 dbcp-1.2.2-src/src/java/org/apache/commons/dbcp/PoolingConnection.java:42:
 org.apache.commons.dbcp.PoolingConnection is not abstract and does not
 override abstract method createStruct(java.lang.String,java.lang.Object[])
 in java.sql.Connection
 >     [javac] public class PoolingConnection extends DelegatingConnection
 implements Connection, KeyedPoolableObjectFactory {
 > }}}
 >
 > etc, etc.

-- 
Ticket URL: <http://trac.macports.org/ticket/21037#comment:21>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list