The resource is not on the build path of a PHP project

来源:互联网 发布:百度网盘无法连接网络 编辑:程序博客网 时间:2024/05/16 18:29
在项目上Ctrl+点击 ,自动寻找类的时候,总是提示"The resource is not on the build path of a PHP project"
 
把自己的 .project 文件编辑
<buildSpec>
<buildCommand>
<name>net.sourceforge.phpeclipse.parserbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sourceforge.phpeclipse.phpnature</nature>
</natures>


修改为
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ids5.0</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>net.sourceforge.phpeclipse.parserbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sourceforge.phpeclipse.phpnature</nature>
</natures>
</projectDescription>

原创粉丝点击