You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jon Ribbens <jo...@unequivocal.co.uk> on 2001/11/06 19:49:04 UTC

"Unable to compile class for JSP"

I am trying to get a trivial "hello-world" struts web application
working under Tomcat 4.0.

'hello.jsp' looks as follows:

  <%@ page language="java" %>
  <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  <bean:message key="hello.message" />

When I try to access http://host/hello-world/hello.jsp I get the
following backtrace:

"org.apache.jasper.JasperException: Unable to compile class for JSP"
...
"Root Cause:
"java.util.EmptyStackException"
...

Can anybody suggest what the problem might be? I have set up the web
application as described in the tutorial at
http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/struts-trailmap/Trail2.htm
and I have put xerces.jar in the WEB-INF/lib directory.

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>