top of page
  • Writer's pictureTroy Web Consulting

Eliminate JQuery Validation Errors In Eclipse

Eclipse doesn't like jQuery and each time I begin from a new install, I need to configure it to ignore validation errors on jQuery. I hate that little red x.


Steps To Remove This Little Red X

  1. Select your project in the Package Explorer (or however you do it)

  2. Project...Properties

  3. In the left menu: JavaScript...Include Path

  4. In the source tab, expand the folder path that includes the jQuery problem. You'll see that you probably are set to include all javascript and exclude none.

  5. Click Edit... on the right

  6. Click Add... in the exclusions

  7. Browse to the jQuery file. If you use a pattern, it may exclude other files so use your head and exclude only what you intend to.

  8. Click Apply.

Comments


bottom of page