HUJC超 骚等  2020年04月25日
Java SSM快速开发仿慕课网在线教育平台 报错
[04/24 22:41] Returning cached instance of singleton bean 'cmsController'
[04/24 22:41] Last-Modified value for [/] is: -1
[04/24 22:41] Returning cached instance of singleton bean 'freemarkerConfig'
[04/24 22:41] Invoking afterPropertiesSet() on bean with name 'auth/login'
[04/24 22:41] Could not find template in cache, creating new one; id=["WEB-INF/pages/auth/login.html"["zh_CN",UTF-8,parsed] ]
[04/24 22:41] No FreeMarker view found for URL: /WEB-INF/pages/auth/login.html
[04/24 22:41] Could not complete request
javax.servlet.ServletException: Could not resolve view with name 'auth/login' in servlet with name 'app-servlet'
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1211)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1011)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:955)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
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)


启动的时候报错,前端找不到,是哪里配置错误了吗?这个提示很鸡肋。。。FreeMarker我也不熟,求大神看一下
...全文
16 点赞 收藏 1
写回复
1 条回复

还没有回复,快来抢沙发~

发动态
发帖子
Web 开发
创建于2007-09-28

5.2w+

社区成员

34.1w+

社区内容

Java Web 开发
社区公告
暂无公告