How to remove the JS or JSP syntax error message in myeclipse!

Source: Internet
Author: User
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 ):

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.