| Author |
WSAD 5.1.1 can't compile any JSP
|
Alex Iv
Greenhorn
Joined: Nov 29, 2004
Posts: 2
|
|
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
Joined: Nov 22, 2003
Posts: 185
|
|
|
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
Joined: Nov 29, 2004
Posts: 2
|
|
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">
|
 |
 |
|
|
subject: WSAD 5.1.1 can't compile any JSP
|
|
|