Unable to compile class for JSP

If you run you web application with the Jetty eclipse plug-in it might happen that you get a”Unable to compile class for JSP” when you try to access the application in your browser. If this happens, go to the properties of your project, select ‘Java Build Path’ and ‘Add External JARs’. You need to add the ‘tools.jar’ file, which is in the ‘lib’ folder of your JDK. Good luck!

Advertisements

3 thoughts on “Unable to compile class for JSP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s