Eclipse 项目有红感叹号

问题原因】:工程中classpath中指向的包路径错误

【解决办法】:右键项目名称 BuildPath ---> Configure Build Paht...中,然后上面有几个选项卡找到 Libraries中出现红色叉号的包为路径错误的包。到classpath中修改相应包的当前路径。然后回到eclipse中F5刷新工程。

原文地址:https://www.cnblogs.com/xyqhello/p/3650621.html