idea编辑器启动项目报错

15-Jan-2019 09:51:38.885 严重 [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
15-Jan-2019 09:51:38.885 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context  startup failed due to previous errors

一般是因为配置文件没有配好导致的。

另外网上也有说是缺少包。
个人经历的,之前一次是因为在xml文件中,namespace指定的dao下的对应mapper接口没写好,这次是因为没有配置扫描dao下的mapper接口和没有在配置文件中对mapper.xml进行扫描。

你可能感兴趣的:(Java,idea)