Eclipse導(dǎo)入工程時報錯,Invalid project description
Posted on 2009-04-23 16:06 eric_xu 閱讀(18808) 評論(3) 編輯 收藏 所屬分類: J2EE.project文件中name是否與你的工程名相同
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>YourProjectName</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>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>YourProjectName</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>