eclispe下maven项目报错解决方式

1、refresh.

2、右键项目 maven -> update project

3、右键模块 debug as -> debug configuration

  goals: clean install

  jre 选择项目中配置文件需要的jre版本

运行单元测试时若出现测试类找不到的情况,运行maven test.

原文地址:https://www.cnblogs.com/zxscn2013/p/8628756.html