tiles 框架使用问题??

sweet阿林 2017-04-21 03:48:43
环境配置:win10 + eclipse neon1 + tomcat8
问题:最近用到tiles3框架,看了网上的帖子,然后自己试着做了公司分配的一个任务,结果在做页面跳转的时候出现问题,大家帮忙看一下!
------------------------------------
四月 21, 2017 3:37:26 下午 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application

2017-04-21 15:37:26,160 [http-nio-8080-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Error rendering view [org.springframework.web.servlet.view.tiles3.TilesView: name 'index'; URL [index]] in DispatcherServlet with name 'dispatcher'
org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/layout/template.jsp'.

2017-04-21 15:37:26,173 [http-nio-8080-exec-1] DEBUG [org.springframework.web.servlet.DispatcherServlet] - Could not complete request
org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/layout/template.jsp'.

Caused by: org.apache.jasper.JasperException: The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application

2017-04-21 15:37:26,175 [http-nio-8080-exec-1] DEBUG [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Returning cached instance of singleton bean 'sqlSessionFactory'
四月 21, 2017 3:37:26 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [dispatcher] in context with path [/task5] threw exception [Request processing failed; nested exception is org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/layout/template.jsp'.] with root cause
org.apache.jasper.JasperException: The absolute uri: http://tiles.apache.org/tags-tiles cannot be resolved in either web.xml or the jar files deployed with this application
...全文
361 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
那你的问题怎么解决的,是那个地方出现问题,我这个也是同样的问题,你能告诉我一下么
sweet阿林 2017-05-03
  • 打赏
  • 举报
回复
看到了自己之前写的帖子,自己结了吧
sweet阿林 2017-04-21
  • 打赏
  • 举报
回复
sweet阿林 2017-04-21
  • 打赏
  • 举报
回复

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧