Home > Back-end >  Java SSM rapid development of network online education platform error copy for class
Java SSM rapid development of network online education platform error copy for class

Time:09-28

[22:41 04/24] Returning cached instance of singleton beans' cmsController '
[22:41 04/24] last-modified value for [/] is: 1
[22:41 04/24] Returning cached instance of singleton beans' freemarkerConfig '
[22:41 04/24] Invoking the afterPropertiesSet () on the bean with the name 'auth/login'
[22:41 04/24] Could not find the template in the cache, creating new one; Id=[" WEB - INF/pages/auth/login HTML "[" zh_CN", utf-8, parsed]]
[22:41 04/24] No FreeMarker view found for URL:/WEB - INF/pages/auth/login. HTML
[22:41 04/24] Could not complete request
Javax.mail. Servlet. ServletException: Could not resolve the view with the name 'auth/login' in the servlet with the name 'app - servlet'
The at org. Springframework. Web. Servlet. DispatcherServlet. Render (DispatcherServlet. Java: 1211)
The at org. Springframework. Web. Servlet. DispatcherServlet. ProcessDispatchResult (DispatcherServlet. Java: 1011)
The at org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 955)
The at org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 877)
The at org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 966)
The at org. Springframework. Web. Servlet. FrameworkServlet. DoGet (FrameworkServlet. Java: 857)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 622)
At org. Springframework. Web. Servlet. FrameworkServlet. Service (842) FrameworkServlet. Java:
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 729)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 292)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 207)
At org, apache tomcat, websocket server WsFilter. DoFilter (WsFilter. Java: 52)


Startup error, front end can not find, is where the configuration errors? The tip is very small,,, FreeMarker I also not familiar, beg god to look at

CodePudding user response:

FreeMaker template standard file suffix is: FTL
For the URL/WEB - INF/pages/auth/login. Find a FreeMarker template HTML;
You write to see if the url is wrong, or was written wrong file suffix
  • Related