jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes WSAD 5.1.1 can't compile any JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD 5.1.1 can Watch "WSAD 5.1.1 can New topic

WSAD 5.1.1 can't compile any JSP

Alex Iv

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?

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

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">
I agree. Here's the link: http://aspose.com/file-tools
subject: WSAD 5.1.1 can't compile any JSP
It's not a secret anymore!