«« Next » « Previous
«« Next » « Previous

Link Details

Announcement

iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008

Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.

Excuses, excuses, excuses... Login and vote now.
Link 70457 thumbnail

By johnvelley
via lkamal.blogspot.com
Submitted: Mar 12 2008 / 08:10

java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar') While trying to deploy a web service in Tomcat (1.5) with Axis 1.4, you may have encountered the above error message. If you have faced with that, following information will help you in fixing it.
  • 1
  • 1
  • 226
  • 28

Comments

Add your comment
User 201716 avatar

unchqua replied ago:

0 votes Vote down Vote up Reply

common/lib is not a place for a system jar file, firstly one should get to know why Tomcat (?) set java.home property with wrong value. Frequently Tomcat do need JDK (not JRE) for making JSP work, because its Jasper component transforms JSP pages into Servlets and then compiles them (thus javac have to be somewhere).

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (1)