[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] JSP error for embedded jetty usage
|
While I can't help you with your specific problem, I have a template application that embeds Jetty and uses SpringMVC and JSP.. It may help:
https://github.com/jasonish/springmvc-template/tree/master/spring-app-embedded-jetty-mvc
On Tue, Nov 27, 2012 at 5:25 PM, Oliver Wulff
<owulff@xxxxxxxxxx> wrote:
Hi there
I've configured a jetty server which is started embedded:
Resource testServerConfig = Resource.newSystemResource("idpserver.xml");
XmlConfiguration configuration = new XmlConfiguration(testServerConfig.getInputStream());
server = (Server)configuration.configure();
The webapp uses jsp and therefore I've added the maven dependency as well as described here:
http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty#Embedding_JSP
Unfortunately, I get an exception:
HTTP/1.1 500 PWC6033: Error in Javac compilation for JSP PWC6199: Generated servlet error: string:///signinresponse_jsp.java:3: package javax.servlet does not exist PWC6199: Generated servlet error: string:///signinresponse_jsp.java:4: package javax.servlet.http
does not exist PWC6199: Generated servlet error: string:///signinresponse_jsp.java:5: package javax.servlet.jsp does not exist PWC6199: Generated servlet error: string:///signinresponse_jsp.java:7: package org.apache.jasper.runtime does not exist PWC6199:
Generated servlet error: string:///signinresponse_jsp.java:8: package org.apache.jasper.runtime does not exist PWC6199: Generated servlet error: string:///signinresponse_jsp.java:10: cannot find symbol symbol : class JspFactory location: class org.apache.jsp.WEB_002dINF.signinresponse_jsp
PWC6199: Generated servlet error: string:///signinresponse_jsp.java:14: package org.glassfish.jsp.api does not exist PWC6199: Generated servlet error: string:///signinresponse_jsp.java:20: cannot find symbol symbol : c
Do you have an idea?
Thanks
Oli
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users