Hi Oliver, I would guess that a library is missing in your classpath. I am also using Tomcat in embedded mode, and I had seen the same kind of error because I missed to add el-api.jar to the classpath. These are the tomcat libraries I have included and which are sufficient (without any further jasper setup) to compile and run JSPs:
annotations-api.jar catalina.jar el-api.jar jasper.jar jasper-el.jar jasper-jdt.jar jsp-api.jar servlet-api.jar tomcat-coyote.jar tomcat-juli.jar tomcat-juli-adapters.jar Regards, Matthias -----Original Message----- From: olk [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 10:33 AM To: users@tomcat.apache.org Subject: Re: Tomcat 6 embedded use - problems with jsp - No Java compiler available Hi, I found a first hint on my own - it is probably related to setting-up jasper correctly - but I hope someone can tell me how to set the parameter for jasper in embedded mode. What I did was: // Create a handler for jsps Wrapper jspServlet = context.createWrapper(); jspServlet.setName("jsp"); jspServlet.setServletClass("org.apache.jasper.servlet.JspServlet"); jspServlet.addInitParameter("fork", "false"); jspServlet.addInitParameter("xpoweredBy", "false"); jspServlet.setLoadOnStartup(2); context.addChild(jspServlet); context.addServletMapping("*.jsp", "jsp"); context.addServletMapping("*.jspx", "jsp"); But it seams not enough for embedded mode. I think I have to set also classpath , compiler ,compilerSourceVM , compilerTargetVM. But I do not know where to point them in embedded mode ??? Is there somebody who can help me on this ? Thx. -- View this message in context: http://www.nabble.com/Tomcat-6-embedded-use---problems-with-jsp---No-Jav a-compiler-available-tp14881179p14915285.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]