项目本地部署没有问题,每个模块数据都能加载的到。但是在Linux上就不能了。
有些地址是能加载到的数据。而有些地址,点后是不能加载数据了。
数据库数据都是全的,然后项目也没有问题。本地访问OK。Linux上部署就出现这个问题了。
刚开始以为war包导错了,导了几次还是这个问题。
然后去看了日志,没有严重错误,有个是这样写的应该是错误的根源:
INFO[HouseKeeper]org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoding Illegal access:
this web application instance has been stopped already.Could not load[org.postgresql.core.v3.Portal]
The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.lllegalStateException:lllegal access:
this web application instance has been stopped already.Could not load[org.postgresql.core.v3.Portal]
The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. (目前只能发这些日志了,其他没有什么重要的了)
信息(管家)org.apache.catalina.loader.WebappClassLoaderBase。checkStateForResourceLoding非法访问:
此web应用程序实例已停止。无法加载(org.postgresql.core.v3.Portal)
出于调试目的以及试图终止导致非法访问的线程,将抛出以下堆栈跟踪。
java. lang.lllegalStateException:非法访问:
此web应用程序实例已停止。无法加载(org.postgresql.core.v3.Portal)
出于调试目的以及试图终止导致非法访问的线程,将抛出以下堆栈跟踪。
求分析下哪边出来问题呢,是Linux的问题吗