You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Winton Davies <wd...@cs.stanford.edu> on 2008/06/23 06:01:45 UTC

Error starting Nutch-0.9 in Tomcat 5

Any ideas - I'm on Fedora, tomcat5, Java 1.7

I copied the nutch-0.9.war file directly into the webapps directory as ROOT.war

Had no problems installing on MacosX. No idea what's wrong, some research
talks about not having a compiler, but I dont think thats the issue.

Winton

An error occurred at line: 28 in the jsp file: /index.jsp
The method write(char) is undefined for the type JspWriter
25:   String requestURI = HttpUtils.getRequestURL(request).toString();
26:   String base = requestURI.substring(0, requestURI.lastIndexOf('/'));
27:   response.sendRedirect(language + "/");
28: %>



type Exception report
message
description The server encountered an internal error () that 
prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

........ <lots of repetition>


An error occurred at line: 52 in the generated java file
Throwable cannot be resolved to a type


An error occurred at line: 53 in the generated java file
t cannot be resolved


An error occurred at line: 57 in the generated java file
t cannot be resolved

Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.compiler.JDTCompiler.generateClass(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.compiler.Compiler.compile(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.JspCompilationContext.compile(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.servlet.JspServletWrapper.service(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(jasper5-compiler-5.5.26.jar.so)
	org.apache.jasper.servlet.JspServlet.service(jasper5-compiler-5.5.26.jar.so)
	javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.26.jar.so)