idea 启动项目报错,more than one fragment with the name [spring web] was found

 

 

这是由于idea导入项目的时候有多个模块,并且有多个web.xml导致的,先删除对应的模块,后启动即可。

 

另外也有可能是spring的jar冲突,把冲突的jar删除即可。

posted @ 2019-06-02 23:36  护花使者  Views(2741)  Comments(0Edit  收藏  举报