Your project must be configured to use a JDK in order to use JSPs

Problem

Using Eclipse 3.7 + Google Plugin for Eclipse to develop GAE project, when created a .jsp file in “war” directory, Eclipse shows a cross error icon on top of the JSP file.

gae jsp show error icon

In Eclipse problem view, it show “Your project must be configured to use a JDK in order to use JSPs.“.

Solution

To solve it, change your Eclipse’s Installed JRE, and point it to your JDK folder. In Eclipse menu, select Windows -> Preferences -> Java -> Installed JREs, add your JDK folder and checked on it.

P.S JSP need JDK “javac” to compile, which doesn’t exist in JRE.

Reference

  1. use a JDK in order to use JSPs for Google App Engine Problem

8 comments on “Your project must be configured to use a JDK in order to use JSPs

  1. Sir, Seriously i lack worlds to describe you.
    But i can say that your tutorials have shape my programming career.
    You are at every stop over!

Leave a Comment

Your email address will not be published. Required fields are marked *