在eclipse中加入某个jar包时,会出现Classpath entry XXX.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.
解决方案:
点中提示信息-->右键-->Quick fix->exclude the associated raw classpath entry from the set of potential publish/export dependencies-->finish.