springmvc.xml 中报错:Start state is missing. Add at least one state to the flow

最近一个学弟问我关于整合springMVC和spring出现的配置文件springmvc.xml出现的Start state is missing. Add at least one state to the flow问题,虽然启动运行没问题,但总是看到有个错误在那里心里总会有些不爽,所以具体方法解决如下:

1、找到Spring Explorer(Window----show View ----other(输入spring explorer即可);

2、在Spring Explorer中找到报错的web所属项目;

3、右击该项目,选择properties;

4、选择Web Flow Support; 

5、移除springmvc.xml;

6、点击ok即可。

具体如下图:

remove   ok之后,错误就没了:

猜你喜欢

转载自www.cnblogs.com/mYunYu/p/9048473.html