Adding jquery.min.js to the eclipse project reports an error: missing semicolon

1. Comment and modify the .project file in the project directory

 

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
 <name>FlexPaper</name>
 <comment></comment>
 <projects>
 </projects>
 <buildSpec>
 <!--
  <buildCommand>
   <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
   <arguments>
   </arguments>
  </buildCommand>
  -->
  <buildCommand>
   <name>org.eclipse.jdt.core.javabuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
  <buildCommand>
   <name>org.eclipse.wst.common.project.facet.core.builder</name>
   <arguments>
   </arguments>
  </buildCommand>
  <buildCommand>
   <name>org.eclipse.wst.validation.validationbuilder</name>
   <arguments>
   </arguments>
  </buildCommand>
 </buildSpec>
 <natures>
  <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
  <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
  <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
  <nature>org.eclipse.jdt.core.javanature</nature>
  <!-- <nature>org.eclipse.wst.jsdt.core.jsNature</nature> -->
 </natures>
</projectDescription>

 

2. Delete jquery.min.js and add it again.

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326889590&siteId=291194637