猿问

java.lang.NoClassDefFoundError:javax / servlet

java.lang.NoClassDefFoundError:javax / servlet / jsp / jstl / core / Config

我正在使用Javascript和JSF为网站开发FB登录应用程序。我在这里发布了我的代码。问题是,当我运行我的应用程序时,它不会显示JSF页面,而是抛出以下异常:

Nov 28, 2013 7:21:46 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [Faces Servlet] in context with path [/FacebookLogin] threw exception [javax/servlet/jsp/jstl/core/Config] with root cause
java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:344)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:153)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)

这里有什么问题,我该如何解决?


幕布斯7119047
浏览 361回答 2
2回答

HUH函数

我只是想添加我的贡献,如果有人在尝试为jboss-eap-6.4.0.GA创建springframework-4.0.7-RELEASE模块时遇到此错误。我module.xml现在包含:<dependencies> &nbsp;&nbsp;&nbsp;&nbsp;...&nbsp;&nbsp;&nbsp;&nbsp;<!--&nbsp;Contains&nbsp;javax.servlet.jsp.jstl.core.Config&nbsp;--> &nbsp;&nbsp;&nbsp;&nbsp;<module&nbsp;name="javax.servlet.jstl.api"/> &nbsp;&nbsp;&nbsp;&nbsp;...</dependencies>
随时随地看视频慕课网APP

相关分类

Java
我要回答