Rhodri Bowden ha scritto:
Hello.
I've recently installed Tomcat 5.0.25 on my Mac OS X (10.4), and have
used it successfully with servlets (using Java 1.5).
I am currently trying to run a simple JSP example, but get the following
error message:
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar
from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat
restart.
Upon searching the web (and my OS) it appears that OS X does not include
a tools.jar file, as all classes are in the classes.jar file.
I have tried commenting out the references to the tools.jar from the
catalina.xml file and the setclasspath.sh file, and have even tried
renaming a copy of the classes file to tools.jar, and putting it in the
common/lib directory - all to no avail.
Is there a workaround for this issue? (Incidentally, I found no
references to OS X or tools.jar on the Apache site).
I have used tomcat (with os X 10.3) 5.0 in the past without problem, but
now I am using 5.5.17 with OS X 10.3.9.
There is no tools.jar in my OS X system.
If you can try to use Tomcat version 5.5
Edoardo
--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]