Hello everyone,

I'm getting a strange error 500 when trying to test my application on
my local development server. The strange thing is that when I deploy
it to GAE's remote server, then it works fine.

I've written a bare-bone JSP, which also pretty much isolates the
problem:

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Page Title</title>
</head>
<body>
        <h1>Sum Test 2+2=<c:out value="${2+2}" /></h1>
        <c:choose>
                <c:when test="${2+2==4}">sum works</c:when>
                <c:otherwise>sum doesn't work</c:otherwise>
        </c:choose>
</body>


Now, some details about my configuration:

- Eclipse IDE
- No jstl jar file added to WEB-INF\lib as a copy has been included in
the SDK by default
- No tld added anywhere, as they should be inside the jar
- No references to the tld in WEB-INF\lib
- SDK 1.4.2


A partial stack trace:

HTTP ERROR 500
Problem accessing /. Reason:

    javax/servlet/jsp/tagext/TagSupport

Caused by:
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagSupport
        at java.lang.ClassLoader.findBootstrapClass(Native Method)
        at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:
927)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:298)
        at
com.google.appengine.tools.development.DevAppServerClassLoader.loadClass(DevAppServerClassLoader.java:
87)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at
com.google.appengine.tools.development.DevAppServerClassLoader.loadClass(DevAppServerClassLoader.java:
87)
        ...


And some further (strange) details:

- Again, the app works fine in the remote server
- The tag <c:out value="${2+2}" /> by itself works in the development
server; adding other tags such as <c:choose> or <c:if> generate the
error 500


Does anyone have any idea why this is happening? I've searched all
over the forums, but apparently nobody has had this issue...?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to