eclipse项目有红色感叹号

1、依赖有问题

  找到build path 点击configure build path

  点击libraries 找到有红叉的包,然后选中移除

2、引用的包有问题

  利用maven引用的包出现问题,有的包不完整,需要删除重新引入。

  通过下方的problems,有错误产生。根据路径找到依赖包,删除重新导入。

猜你喜欢

转载自www.cnblogs.com/51python/p/10841039.html