Syntax error, insert "]" to complete memberexpression xxx.js (Error when Java Web Project imports jquery files)

Source: Internet
Author: User

Want to add a jquery plugin written by someone else in your site project, can be imported after the total error: Syntax error, insert "]" to complete memberexpression xxx.js

It's going to change, or something else will happen.

(The HTML files associated with jquery that are not joined to project can be run)


Workaround:

The process steps are as follows:
1. Open the Web project you have built. project file, and remove or comment out the following:
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
2. Delete the original JS, restart the copy, because the original file has been marked as an Eclipse project error.


Note: Remember to restart the MyEclipse open tool

Then you won't get an error.

Syntax error, insert "]" to complete memberexpression xxx.js (Error when Java Web Project imports jquery files)

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.