dousi1994 2010-12-09 16:11
浏览 56
已采纳

由于无法实例化XXX类,推进发电机失效

I have been building a new project for the last 2 months, I probably have ran the propel-gen om 10-15 times without fail until the other day. I did a quick pear upgrade and then propel-gen om and seem to get an error i dont understand.

I have tried on two windows machines and one linux machine and I keep getting the same error.

First off does anyone have a complete project which works, that I can try and build to rule out the possibility this is phing related.

anything obvious from this?

my build.properties looks like this

#start of file
# Database driver

propel.project = Cream

propel.targetPackage = {propel.project}


propel.database = mysql

project.home = C:\xampp\htdocs\Cream
project.build = ${project.home}/propel

propel.output.dir = ${project.home}
propel.php.dir = ${propel.output.dir}/ActiveRecord
propel.phpconf.dir = ${propel.output.dir}/ActiveRecord/config
propel.sql.dir = ${project.build}/sql


propel.database.url = mysql:host=localhost;dbname=cream
propel.database.user = root
propel.database.password = 

propel.addGenericAccessors = true
propel.addGenericMutators = true
propel.addTimeStamp = true
propel.addIncludes = false
#end of file

error message is a lot of

could not instantiate class propelSQLTask
could not instantiate class propelSchemaReverseTask
could not instantiate class propelDataSQLTask

etc etc

  • 写回答

2条回答 默认 最新

  • dongpa3109 2010-12-10 09:47
    关注

    the issue turned out to be propel does not support the latest phing you must downgrade your phing in order to solve the issue

    pear uninstall phing/phing
    pear install phing/phing-2.4.2
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分