本文介绍了使用netbeans创建zend项目,怎么做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了zend Framework 2.0,并将zf.bat文件包含在netbeans中以及环境变量中

i downloaded zend framework 2.0 and include the zf.bat file in the netbeans as well in the Environment Variables

为了方便起见,我将zend框架放入我的xampp文件夹中:C:\xampp\zf\bin\zf.bat

i place the zend framework into my xampp folder for convenience: C:\xampp\zf\bin\zf.bat

当我尝试在netbeans中注册提供程序时,我得到了:

When i try to register provider in netbeans i get :

PHP Fatal error:  Class 'Zend\Tool\Framework\Client\Console\Console' not found in C:\xampp\zf\bin\zf.php on line 611

Fatal error: Class 'Zend\Tool\Framework\Client\Console\Console' not found in C:\xampp\zf\bin\zf.php on line 611

关于可能导致此错误的原因的任何想法?

any ideas on what might be causing this error?

谢谢

看起来是一个2.0版本的发行错误,因为1.11可以正常工作.

looks like is a 2.0 release bug, because 1.11 works just fine.

zend文件夹中的Tool文件夹也丢失.但是我能够在tools中找到它.但是即使我复制了它,仍然无法正常工作.

also the Tool folder is missing from inside zend folder. but i was able to find it inside tools. but even is i copied it over it still doesn't work.

应该有一个名为Console的类,因为这是实际的错误,我在所有主干中都找不到

there suppose to be a class called Console because that is the actual error, and i couldn't find it in all trunk

有线

推荐答案

下载似乎来自: http://packages.zendframework.com/并不具备所有功能...

It seems that the downloads from: http://packages.zendframework.com/ do not have everything...

我遇到了同样的问题,并从这里得到了我需要的东西: https://github.com/zendframework/zf2

I had the same issue and got what I needed from here: https://github.com/zendframework/zf2

这篇关于使用netbeans创建zend项目,怎么做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 22:49