08-Jul-2017 21:45:26.064 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardConte
出现这个问题是因为我的后端写到前端的medol里面了,然后我更改了两个文件夹的命名,当然我也同时更改了model的命名。然后我尝试重启服务器,报错如下:
严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
经过分析这个问题,可以看出这是容器内部某个包找不到,我仔细查了一下配置文件,问题如下
这个文件中的artifactId并没有改变
<artifactId>admin</artifactId>
<packaging>war</packaging>
之后重启服务器,报错依旧。这时候已经不是项目本身的问题了。
尝试在maven中清理并且重新编译 || 重新配置一下tomcat服务器,主要是重新在Artifact中添加war包