项目文件夹内需要有两个文件:
.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/alpes-0.6.8.-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-codec-1.10.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-fileupload-1.3.3.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-io-2.6.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-lang-2.6.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-logging-1.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/debcommon.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ehcache-2.10.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/fastJson.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/himalayas.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jetty-server-8.1.8.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jetty.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-api-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-core-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-jcl-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-slf4j-impl-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ojdbc7-1.0.0.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-3.12.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-ooxml-3.12.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-ooxml-schemas-3.12.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/report.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/slf4j-api-1.7.9.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tomcat-jdbc.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tomcat-juli.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/websocket-api.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xmlbeans-2.6.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
</classpath>
.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JavaWebSocket</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
第三行:<name>你项目的名字</name>