为了账号安全,请及时绑定邮箱和手机立即绑定

项目启动成功但是进不去login.html

04-Jul-2018 15:07:40.735 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\tomcat8\webapps\manager] has finished in [640] ms

04-Jul-2018 15:07:41.155 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

这是日志!login.html报405错误

正在回答

2 回答

<property name="loginUrl" value="/login.html"/>login.htnl前多一个斜杠

然后再把他们的请求放行:/login.html=anon

0 回复 有任何疑惑可以回复我~

https://img1.sycdn.imooc.com//5b3ded360001887205420029.jpg

在spring.xml中要配置这句话,你配置了没?

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

项目启动成功但是进不去login.html

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信