http://community.csdn.net/Expert/topic/3412/3412780.xml?temp=2.825564E-02
看看

解决方案 »

  1.   

    http://localhost:8080/ 这样成功么?
    如果成功就把你的jsp放在root里面就ok了
      

  2.   

    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.
    你的环境变量有问题的!在重先把tools.jar,dt.jar加到你的classpath衷曲
      

  3.   

    我也是啊 http://localhost:8080/这样能打开的,可就是自己的jsp页面出现这样的错误,classpath也对的啊 郁闷
      

  4.   

    chen1.jsp 
    发布没有问题吗
      

  5.   

    不好意思,没看错误代码,刚才仔细的看了下那么长的english,终于找到原因了我想楼主也是这样的原因吧,这句话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. 把你的tools.jar复制到tomcat的common/lib的目录下就OK了!
      

  6.   

    你把你的文件复制到WEBAPPS目录下的任何文件夹里就0K了,我也碰到过这问题,刚看书解决的,呵呵.