[Eclipse Jquery mobile ] Errors occurred during the build

Problem as below:

Errors occurred during the build.

Errors running builder 'JavaScript Validator' on project 'ips'.

java.lang.ClassCastException

Root Cause:

there is a bug during the eclipse parsing the jquery mobile.

Solution:

  1. right click the project and then click the properties
  2. click the JavaScript item => Include Path => Source => Excluded
  3. double click the Excluded item and add a rule in the Exclustion patterns(exclude the js file which is reported to contain errors)

猜你喜欢

转载自cuizhihua.iteye.com/blog/1905967