Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] JSP error for embedded jetty usage

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

Back to the top