How to remove JS/jsp syntax error messages in myeclipse
The JS/jsp in the web Project on myeclipse often has syntax error prompts, which is caused by the strict syntax requirements of myeclipse, these files can be run without any errors. They are not affected in your actual application deployment.
There are two solutions to this problem:
1. You don't have to worry about it. You can directly deploy it on your Web Container, but this method is inappropriate.
2. Select your project and right-click the menu --> click exclude from validation of the myeclipse menu item, if you have other suggestions in your project that require it to check its validity, you can perform this operation on a folder or a specific file, in this way, the JSP/JS files in a folder in the web project can be verified and excluded, so that these excluded files or folders will not be verified, however, when you open these files, there is an error message in the file, but there is no syntax error prompt in the project. This not only solves the problem of incorrect syntax information prompts in the project, but also allows you to view the error of some problematic files.
In addition, you can also use remove all validation markers to remove all verification syntax error messages. Shows the menu (in red ):