myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kempff, Malte" <>
Subject java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
Date Tue, 21 May 2013 15:30:39 GMT

Hi to all,
The sample JFS using MyFaces Core 2.0.2 seems o work.
Now I wanted to try out, if it can handle the default page that is configured in web.xml by
Welcme file list or even replace it.
  <!--  <welcome-file>index.html</welcome-file>

When I  use the URL
nothing is happening than a blank screen
when I use
I get this error (and also an interesting error screen that gives me a nice overview.

javax.faces.FacesException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
       at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(
       at org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(
       at javax.faces.webapp.FacesServlet.service(
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(
       at org.apache.catalina.core.StandardWrapperValve.invoke(
       at org.apache.catalina.core.StandardContextValve.invoke(
       at org.apache.catalina.core.StandardHostValve.invoke(
       at org.apache.catalina.valves.ErrorReportValve.invoke(
       at org.apache.catalina.core.StandardEngineValve.invoke(
       at org.apache.catalina.connector.CoyoteAdapter.service(
       at org.apache.coyote.http11.Http11Processor.process(
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Caused by: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
       at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(
       at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
       at org.apache.myfaces.lifecycle.LifecycleImpl.render(
       ... 13 more
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
       at org.apache.catalina.loader.WebappClassLoader.loadClass(
       at org.apache.catalina.loader.WebappClassLoader.loadClass(
       ... 16 more

Now I have two questions:

1.       When I see his exception it reminds me of the message getting in the start up:
21.05.2013 16:52:42 org.apache.myfaces.config.FacesConfigurator startLib
INFO: MyFaces-package : jsp-api not found.
Am I right that I need to install some further stuff of MyFaces and what is it exactly?

2.       I am wondering that Tomcat does not use its possibilities, since I know that Tomcat
has its own implementation of JSP in general, because I also played with JSP before as well...
Do I suspect correctly, that using JSF somehow needs a separate special implementation concerning
JSP? If so, how is that explained technically?

Thanks a lot for hints and answers in advance


Disclaimer: The contents of this electronic mail message are only binding upon Equens or its
affiliates, if the contents of the message are accompanied by a lawfully recognised type of
signature. The contents of this electronic mail message are privileged and confidential and
are intended only for use by the addressee. If you have received this electronic mail message
by error, please notify the sender and delete the message without taking notices of its content,
reproducing it and using it in any way. ------------------------------------------------------------------------------------------------

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message