cannot be resolved in either web.xml or the jar files deployed with this application
来源:互联网 发布:时时彩开奖软件 编辑:程序博客网 时间:2024/05/16 05:40
1、错误描述
严重: Servlet.service() for servlet [jsp] in context with path [/joint] threw exception [The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application] with root causeorg.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this applicationat org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:55)at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:277)at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:75)at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTldResourcePath(TagLibraryInfoImpl.java:243)at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:124)at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:421)at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:479)at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1435)at org.apache.jasper.compiler.Parser.parse(Parser.java:139)at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:227)at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323)at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)at java.lang.Thread.run(Thread.java:748)
2、错误原因
在maven管理的项目中,出现这个错误;查看jsp代码,发现引入了
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3、解决办法
(1)将jstl.jar有关maven配置放入到pom.xml
(2)jstl.jar存在,需要重新编译项目
阅读全文
0 0
- cannot be resolved in either web.xml or the jar files deployed with this application
- cannot be resolved in either web.xml or the jar files deployed with this application
- cannot be resolved in either web.xml or the jar files deployed with this application
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this ap
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this ap
- http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed wit
- http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed wit
- jstl学习常见错误一: The absolute uri: http://java.sun.com/jst/core cannot be resolved in either web.xml or the jar files deployed with
- Hi there,Error:The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed
- 解决 "The absolute uri: xxx cannot be resolved in either web.xml or the jar files"
- The absolute uri: cannot be resolved in either web.xml or the jar files
- uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deploye
- This absolute uri http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- This absolute uri http://Java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar
- This absolute uri http://Java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files
- 关于The absolute uri: http://java.sun.com/jstl/core_rt cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- (学习笔记)设计模式之策略模式
- vim 出现 highlight group not found: Normal
- CentOS 系统下终端从普通用户切换到root用户的方法
- 使图片拥有ID及获取图片的值
- 30天内免登陆(cookie)
- cannot be resolved in either web.xml or the jar files deployed with this application
- Python常用的格式化符号
- CNN学习(三)—Tensorflow 进行MNIST手写体识别
- 对MVP简单的理解
- ThreadLocal类分析
- 语音芯片WTN6的类
- 用matlab 对图像进行 拉普拉斯锐化
- Hibernate对象状态、缓存、快照、hql语句、criteria语句、sql语句
- Java集合 List接口详解