自上周以来,我一直在努力部署一个 tomcat7 网站。我正在使用JDK8。
我检查了我的 catalina out 文件,这是我看到的唯一错误。也许它与使用JDK8有关?
Jul 24, 2015 4:17:03 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load java.util.concurrent.ScheduledFuture. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1612)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
最后,当我转到我的 url 时,它正在接收流量但没有呈现任何内容。我们内置了 Spring 安全性,因此当您点击安全页面时,它实际上会重定向到登录页面。但是,当它转到没有安全性的页面或登录页面时,您会在 chrome 中收到“400 Bad Request”消息和“401 Unauthorized”,然后在 Firefox 中出现“404 Not Found”。任何帮助将不胜感激。