Issue in installing tomcat5 using MacPorts
pine88
donoh at mac.com
Fri Oct 19 09:56:35 PDT 2007
Hi,
Using MacPorts to install tomcat5 on OS 10.4.11 on my Intel MacBook Pro, I
am getting a build error as appended below.
Someone pointed me that I was using an old version of JspTagException, so I
had looked at servlet23-api.jar file in /opt/local/share/java, and found the
JspTagException class had no constructor defined for JspTagException(String
msg, Throwable rootCause) although I saw it's parent JspException class had
constructor with 2nd parameter of Throwable.
Would this be the cause of this build error? It makes me wonder if
servlet23 MacPort package has any incompatibility issues with
jakarta-taglibs.
Any ideas?
>> sudo port install tomcat5
(...... all dependencies up to this point built and installed successfully
......)
---> Fetching jakarta-taglibs-standard-11
---> Verifying checksum(s) for jakarta-taglibs-standard-11
---> Extracting jakarta-taglibs-standard-11
---> Configuring jakarta-taglibs-standard-11
---> Building jakarta-taglibs-standard-11 with target dist
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_jakarta-taglibs-standard-11/work/jakarta-taglibs-standard-1.1.2-src/standard"
&& ant dist
-Dbuild.dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_jakarta-taglibs-standard-11/work/jakarta-taglibs-standard-1.1.2-src/standard/build
-Ddist.dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_jakarta-taglibs-standard-11/work/jakarta-taglibs-standard-1.1.2-src/standard/dist
-Djunit.jar=/opt/local/share/java/junit.jar
-Dservlet24.jar=/opt/local/share/java/servlet24-api.jar
-Dservlet23.jar=/opt/local/share/java/servlet23-api.jar
-Djsp20.jar=/opt/local/share/java/jsp2-api.jar
-Dxalan.jar=/opt/local/share/java/xalan.jar " returned error 1
Command output: [javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_jakarta-taglibs-standard-11/work/jakarta-taglibs-standard-1.1.2-src/standard/src/org/apache/taglibs/standard/tag/common/xml/XPathUtil.java:552:
cannot find symbol
[javac] symbol : constructor
JspTagException(java.lang.String,javax.xml.transform.TransformerException)
[javac] location: class javax.servlet.jsp.JspTagException
[javac] throw new JspTagException(te.toString(), te);
[javac]
--
View this message in context: http://www.nabble.com/Issue-in-installing-tomcat5-using-MacPorts-tf4654549.html#a13298771
Sent from the MacPorts - Users mailing list archive at Nabble.com.
More information about the macports-users
mailing list