This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes jsp under eclipse are not getting compiled Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "jsp under eclipse are not getting compiled" Watch "jsp under eclipse are not getting compiled" New topic
Author

jsp under eclipse are not getting compiled

kunal green
Greenhorn

Joined: Dec 31, 2009
Posts: 26

whenever i am trying to compile my jsp pages under eclipse ide, i am getting the following error


org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.



the standart library routines are accessed and displayed comfortably.struts custom tags are also working comfortably
kunal green
Greenhorn

Joined: Dec 31, 2009
Posts: 26

i also have tried the suggestion by the error message.and as far as i understand there is nothing wrong with the classpaths setting
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

kunal coolest wrote:whenever i am trying to compile my jsp pages under eclipse ide

How do you compile? Jsp compilation is under server control . Programmer no need to compile jsp,thats is why it is called as "Precompilation page"
 
wood burning stoves
 
subject: jsp under eclipse are not getting compiled
 
Similar Threads
"No Java compiler" error after server been up for a while
Unable to compile class for JSP
Eclipse Newbie Help!!!!
jboss+tomcat can not find tools.jar, how to solve it?
Problem with compiling with Eclipse