• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSAD 5.1.1 can't compile any JSP

 
Alex Iv
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run a WSAD 5.1.1 server localy. My test environment and all of my servlets start properly. But, whenever I try to run a JSP (even a simple JSP without any Java code in it), I get the following error:
Error 500: com.sun.tools.javac.Main: method compile([Ljava/lang/String;Ljava/io/PrintWriter I not found

If I try to run the same file with .html extension, page is displayed properly.
Anyone seen this and has any sugestions?

Thanks,
Alex
 
vishwa venkat
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try checking the servlet version u r using..check web.xml..other than this am not sure what else causing the error.
 
Alex Iv
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried using both J2EE level 2 and 3, same results.

these are three lines from the beginning of web.xml:
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp">
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic