Problems with several JSP pages, jetty 6.1.24, debian 6.0

Error showed in the page:

Unexpected Error

This was not supposed to happen.     Please provide the error details to your TeamCity server maintainer.
If you maintain this TeamCity installation please     report this error to JetBrains.
Error message: javax.servlet.jsp.JspException:  org.apache.jasper.JasperException: Unable to compile class for JSP:   An error occurred at line: 6 in the generated java file /var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/  package jetbrains.buildServer.web.util does not exist import jetbrains.buildServer.web.util.PageResourceCompressor;                                      ^   An error occurred at line: 5 in the jsp file:  /WEB-INF/tags/linkScript.tag /var/cache/jetty

Error showd in the teamcity-server.log

2011-02-08 13:19:12,860]  ERROR -   jetbrains.buildServer.SERVER - Error in JSP, request dump:
Path: /admin/serverConfig.jsp
Method: GET
Original page URL: /TeamCity-6.0.2/admin/serverConfig.html?tab=jabber&init=1
Remote address:
Param: tab = [jabber]
Param: init = [1]
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 6 in the generated java file
/var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/ package jetbrains.buildServer.web.util does not exist
import jetbrains.buildServer.web.util.PageResourceCompressor;

An error occurred at line: 5 in the jsp file: /WEB-INF/tags/linkScript.tag
/var/cache/jetty/data/Jetty_0_0_0_0_8080_TeamCity.6.0.2.war__TeamCity.6.0.2__.ppw61n/TC_jabber/org/apache/jsp/tag/web/ cannot find symbol
symbol  : variable PageResourceCompressor
location: class org.apache.jsp.tag.web.linkScript_tag
jspContext.setAttribute("list",, (String)jspContext.getAttribute("list"), "js"));


The same error ocurrs in several pages.

Any help??
Thanks in advance.

Comment actions Permalink

Hi Ernesto

I rechecked that with the same Jetty version, and wasn't able to confirm the issue.

Can you try to start it under another server like Tomcat, just to localize the problem.


Comment actions Permalink

In tomcat work fine. The problem appear to be with jetty. I think it is not loading the Jars files from the WAR file. I really like to use Jetty.

Comment actions Permalink

We saw cases before where war was deployed incorrectly by the server. Try to re-deploy the app - stop the server, and manually delete content of WAR-file unpacked under /tmp/.
If that doesn't help - please post resulted Jetty output log.


Comment actions Permalink

Another possible reason - JRE incompatibility.
We had reported issues with OpenJDK. make sure you're using Sun or IBM JDK.



Please sign in to leave a comment.