今天遇到问题如下:
Description Resource Path Location Type 。
Invalid classpath publish/export dependency com.genuitec.runtime.library/com.genuitec.generic_6.0. The associated classpath container cannot be included in the published/exported module. xxx P/xxx Classpath Dependency Validator Message。
网上搜了半天,才找到解决方法 https://wenku.baidu.com/view/e33b5533be23482fb5da4c49.html。
解决方法是:
1.打开Problem视图,选中此警告,然后按Ctrl+1或者右击选择fix it,弹出修复对话框,选择 "Exclude the associated raw classpath entry....”
这个操作好像是添加了下面这个attribute到 .classpath:
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
2、还一种是我把字符集改成UTF-8后,这个提示就直接没了,不知道跟字符集是否有关