Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何将eclipse设置为忽略;类路径依赖验证程序消息;警告_Eclipse_Classpath_Warnings_Liferay_Ignore - Fatal编程技术网

如何将eclipse设置为忽略;类路径依赖验证程序消息;警告

如何将eclipse设置为忽略;类路径依赖验证程序消息;警告,eclipse,classpath,warnings,liferay,ignore,Eclipse,Classpath,Warnings,Liferay,Ignore,我希望在我的eclipse项目中没有警告,但我得到一个警告: Classpath entry org.eclipse.jdt.USER_LIBRARY/Liferay 6.1 GA Plugin API will not be exported or published. Runtime ClassNotFoundExceptions may result. 从警告类型类路径依赖验证程序消息 我理解eclipse试图对我说的话,但这是错误的,库存在于服务器上,在我的项目中导出它是不对的 但

我希望在我的eclipse项目中没有警告,但我得到一个警告:

Classpath entry org.eclipse.jdt.USER_LIBRARY/Liferay 6.1 GA Plugin API will not be exported or published. Runtime ClassNotFoundExceptions may result.  
从警告类型
类路径依赖验证程序消息

我理解eclipse试图对我说的话,但这是错误的,库存在于服务器上,在我的项目中导出它是不对的

但是,我需要在eclipse中将此警告设置为忽略,我如何才能做到这一点?

在此处删除它: 首选项->验证->类路径依赖验证程序

还要检查您的特定项目是否有自己的验证设置覆盖全局设置。
Project->Properties->Validation

选择警告,按Ctrl+1(快速修复),选择选项“从中排除关联的原始类路径项…”

执行此操作后,我的所有gradle任务都被禁用!!!!现在你必须告诉我如何撤销这个?@Khan我不明白按照我的指示怎么会发生这种情况。尝试创建一个新的工作区,在那里导入项目,它会再次工作。如果不起作用,请从备份或版本控制还原文件
.classpath