java -jar 启动后模版不存在:Error resolving template template might not exist or might not be accessible

问题如图:
java -jar 启动后模版不存在:Error resolving template template might not exist or might not be accessible
解决办法:在页面转发的时候不要以 / 开头,如下

 //不需要加 /
 mv.setViewName("blog/mx");

java -jar 启动后模版不存在:Error resolving template template might not exist or might not be accessible

上一篇:MYSQL安装


下一篇:MySql连接 alibaba.druid.support.logging.JakartaCommonsLoggingImpl.error create connection SQLException