the resource is not on the build path of a php project

打开工程里面的.project文件,确保里面的红色标记行都正确且存在,即可成功!

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>wmsadminapi</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
        <buildCommand>
            <name>org.eclipse.wst.validation.validationbuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
        <buildCommand>
            <name>org.eclipse.dltk.core.scriptbuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
        <buildCommand>
            <name>org.eclipse.wst.common.project.facet.core.builder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
          <nature>org.eclipse.php.core.PHPNature</nature>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
        <nature>net.sourceforge.phpeclipse.phpnature</nature>
    </natures>
</projectDescription>

 

posted @ 2016-01-11 09:45  HalfWater  阅读(300)  评论(0编辑  收藏  举报