Eclipse + Google App Engine + JavaEE + JSP = problem

So my first steps in the JSPs in Eclipse ‘m :) Encouraged by the success of the first to discover new technologies that I described in the article Getting Started with Google App Engine, I decided to go to get acquainted with the technology JSPs. Following the exhortations Google App tutorial, I created a catalog of war file main.jsp. The file was immediately selected by Eclipse as “containing the error”

Eclipse jsp file error

Solution:


Eclipse uses as the default JRE ( Java Runtime Environment ) Java SE 6 Runtime Environment, which are not adapted to the files . jsp. It is therefore necessary to change the JRE in the “Windows -> Preferences -> Java -> Installed JREs” in the JDK (Java Development Kit). For this purpose, we enter the box indicated above, and add ( “Add” ), the new JRE, choose “Standard VM” and “Next”.

Eclipse add new IRE

Catalogue  home Java set to one in which you installed the JDK (for Windows 64x is the default directory “C: \ Program Files (x86) \ Java \ jdk1.6.0_17 \” ).

Eclipse ustawianie IRE home

After selecting the directory we have to wait until it is scanned. After a change of name of the new Java, we can complete the process click “Finish”. In the “Installed JREs” select the newly added JRE and accept changes click “OK”.

Eclipse zmiana domyślnego IRE

After a while the error file . jsp should disappear.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • MySpace
  • PDF

Related Posts

    • alecrama
    • May 8th, 2010

    Thanks for the explanations, I wasted a lot of time without knowing what to do with the error of JSP.

    • CodeGrafter
    • September 14th, 2010

    thanks u. it’s good for me.

    • Matheus
    • October 7th, 2010

    thanks you.
    I’m brazilian and you help-me so much!
    Congratulations!

    • Asma
    • October 11th, 2010

    thx your are my hero!

  1. Helped, thanks ;-) .

  1. No trackbacks yet.

*

Founder:

pit 2013 darmowy program Apla za free do dekalaracji rocznych PIT- formularze 2013!Laserjet HP tusze tonery do drukarki, oryginalne zamienniki HP Laserjet P4515 HP Laserjet - ceny tusz toner do drukarek HP, oryginalny, zamiennikRapidgator