编译错误:BUG!Griffon 项目升级后的异常 [英] Compilation error: BUG! exception after Griffon project upgrade

查看:47
本文介绍了编译错误:BUG!Griffon 项目升级后的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几个月里,我在一个使用 Griffon 0.3.1 环境的富客户端工作.

I've working in a rich client with an Griffon 0.3.1 enviroment during the last couple of months.

那个版本太旧了,现在我需要将项目升级到 0.9.3.

That version is getting old and now I'm required to upgrade the project into a 0.9.3.

做完之后:

griffon upgrade

获取所需插件的最新版本时,我遇到了以下错误:

And getting the latest releases of the required plugins I'm facing the following error:

Compilation error: BUG! exception in phase 'canonicalization' in source unit 'C:\maestro\desarrollo\projects\interactionManager\sgmentia-client\griffon-app\controllers\com\nortia\sgmentia\client\campaign\CampaignController.groovy' ClassNode#getTypeClass for com.nortia.sgmentia.business.Seleccion is called before the type class is set

尝试了几件我不知道的事情后,升级前没有编译错误.

There were no compilation errors before the upgrading after trying several things I haven't got a clue.

提前致谢.

伊万.

推荐答案

尝试升级到 0.9.4.由于引入了 AST 注入行为,在以前的版本中存在一些极端情况.另外,不要忘记在升级后立即调用 clean 命令.

Try upgrading to 0.9.4. There were some corner cases in previous versions due to the introduction of AST injection behavior. Also, don't forget to invoke the clean command right after upgrade.

这篇关于编译错误:BUG!Griffon 项目升级后的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆