警告:
Description Resource Path Location
Type Projects must be referenced by an EAR or a WAR to use classpath publish/export dependencies whose runtime path (../) maps into the parent component. onlinePayment P/onlinePayment Classpath Dependency Validator Message
项目无法发布,或引入后不能正确被找到。
.classpath文件
<attribute name="org.eclipse.jst.component.dependency" value="../"/>
修改为:
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
同类错误可以尝试在eclipse中可以在markers中选中错误按ctrl + 1快速修复。