From: Jan B. <ja...@mo...> - 2006-04-28 07:39:53
|
Hi Stefan, JSTL is a J2EE (now known as JavaEE) requirement, not a servlet spec nor a jsp spec requirement. Jetty is a web container, not a J2EE container, and so therefore doesn't include them by default. cheers Jan Stefan Arentz wrote: > Hi, > > I'm using the Jetty6 Maven 2.0 plugin. My JSP/JSTL pages only work if I > include: > > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>jstl</artifactId> > <version>1.1.2</version> > <scope>runtime</scope> > </dependency> > > as a runtime dependency. Otherwise Jetty6 fails with a: > > java.lang.NoClassDefFoundError : > javax/servlet/jsp/jstl/fmt/LocalizationContext > > I'm a bit confused about this. Isn't the web container supposed to have > all the spec apis on board? Isn't my only job to include an actual > implementation (like standard.jar from jakarta) in my web app? > > Oh, this is the b14 version. > > S. > |