开发者社区> 问答> 正文

帮忙看看这是因为什么报错 javax.servlet.ServletExcept?报错

C:\Java\jdk1.6.0_18\lib\tools.jar;D:\tomcat6.0\bin\bootstrap.jar
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javaxrvlet/js
p/jstl/core/LoopTag
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:630)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
tionDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:302)
        at com.sundoctor.example.servlet.JobProcessServlet.getQrtzTriggers(JobPr
ocessServlet.java:186)
        at com.sundoctor.example.servlet.JobProcessServlet.service(JobProcessSer
vlet.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: javaxrvlet/jsp/jstl/core/LoopTag
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1847)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:890)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1354)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1233)
        at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1239)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
        at org.apache.jasper.compiler.ParserController.doParse(ParserController.
java:216)
        at org.apache.jasper.compiler.ParserController.parse(ParserController.ja
va:103)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
.java:586)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:317)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
42)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        ... 22 more
Caused by: java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.LoopTag

        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1387)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1233)
        ... 43 more

展开
收起
爱吃鱼的程序员 2020-06-22 18:07:33 691 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
    jstl.jar拷贝进相应的路径可能是jstl在运行是找不到路径,你试试把jstl删除,再下载一个完整的   jstl-1.2.jar或者更高的版本试试。java.lang.NoClassDefFoundError:javaxrvlet/js
    p/jstl/core/LoopTag

    远程仓库的jar包有问题。。。。

    用这个版本

    <dependency><groupId>javax.servlet.jsp.jstl</groupId><artifactId>javax.servlet.jsp.jstl-api</artifactId><version>1.2.2</version></dependency>
    2020-06-22 18:07:49
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载