.classpath:
======
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="var" path="BC_PROVIDER"/>
<classpathentry kind="var" path="APACHE_COMMONS_HTTPCLIENT"/>
<classpathentry kind="lib" path="sheca.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
By mistake, deleting
======
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
======
The project displays error! It marks error at the begining of a Java file, and when you delete the Java file, it will mark the other Java files. It takes me a long time to find out where the error takes place.
======
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="var" path="BC_PROVIDER"/>
<classpathentry kind="var" path="APACHE_COMMONS_HTTPCLIENT"/>
<classpathentry kind="lib" path="sheca.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
By mistake, deleting
======
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
======
The project displays error! It marks error at the begining of a Java file, and when you delete the Java file, it will mark the other Java files. It takes me a long time to find out where the error takes place.
博客讲述了Java项目中.classpath文件的内容,包含多种路径配置。因误删部分配置项,如org.eclipse.pde.core.requiredPlugins和org.eclipse.jdt.launching.JRE_CONTAINER,导致项目显示错误,在Java文件开头标记错误,删除文件后错误会转移到其他文件。
795

被折叠的 条评论
为什么被折叠?



