导航

When you’re about to try the JWS web service, you received the following error:

1 java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')
 

 

Solution
Copy the tools.jar in C:\Program Files\Java\jdk1.6.0_18\lib to C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib