如何设置eclipse以忽略“Classpath Dependency Validator Message”警告 [英] How to set eclipse to ignore the "Classpath Dependency Validator Message" Warning
问题描述
Classpath entry org .eclipse.jdt.USER_LIBRARY / Liferay 6.1 GA插件API不会导出或发布。可能会导致运行时ClassNotFoundException。
从警告类型 Classpath依赖验证器消息
。
我明白了eclipse正在试图对我说什么,但是这是错误的,图书馆存在于服务器上,并不适合用我的项目导出。 / p>
但是,我需要在eclipse中设置这个警告来忽略,我该怎么做?
在此处删除:
首选项 - >验证 - >类路径依赖验证器
还要检查您的具体项目是否具有自己的验证设置覆盖全局。
项目 - >属性 - >验证
I would like it to have no warnings in my eclipse projects, but I get this one warning:
Classpath entry org.eclipse.jdt.USER_LIBRARY/Liferay 6.1 GA Plugin API will not be exported or published. Runtime ClassNotFoundExceptions may result.
from warning type Classpath Dependency Validator Message
.
I understand what eclipse is trying to say to me, but that is wrong, the library exists at the server and it is not right to export this with my projects.
However, I need to set this warning in eclipse to ignore, how can I do this?
Remove it here: Preferences -> Validation -> Classpath Dependency Validator
Also check if your specific project has its own validation settings overwritting the global ones. Project -> Properties -> Validation
这篇关于如何设置eclipse以忽略“Classpath Dependency Validator Message”警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!