开发者社区> 问答> 正文

实例部署web项目,tomcat能启动,但是无法访问


根据手动部署教程,tomcat已经能打开测试页面。war包放进去之后,已经解析出文件夹
浏览器却打开报错。
(数据库已经存在,表也齐全)

报错信息:

HTTP Status 500 – Internal Server Error

Type Exception Report

Message 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

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.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 application
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:55)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:293)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:80)
	org.apache.jasper.compiler.TagLibraryInfoImpl.generateTldResourcePath(TagLibraryInfoImpl.java:251)
	org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:122)
	org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:431)
	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:489)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1445)
	org.apache.jasper.compiler.Parser.parse(Parser.java:144)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:202)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Note The full stack trace of the root cause is available in the server logs.

Apache Tomcat/8.5.35

展开
收起
1543567685000836 2019-02-11 16:57:27 704 0
1 条回答
写回答
取消 提交回答
  • 个人程序员一枚
    这个错误提示好像是说指定的url没有路由
    您应该是没有配置好程序的url路由规则
    2019-02-11 17:03:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
基于Web前端的可用性优化 立即下载
Web应用系统性能优化 立即下载
高性能Web架构之缓存体系 立即下载