Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set eclipse to ignore the "Classpath Dependency Validator Message" Warning

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?

like image 791
Mark Avatar asked Jul 20 '12 10:07

Mark


1 Answers

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

like image 101
moeTi Avatar answered Oct 21 '22 00:10

moeTi