错误:无法编译Groovy文件:没有为模块“myprojectname”定义Groovy库。 [英] Error:Cannot compile Groovy files: no Groovy library is defined for module "myprojectname"

查看:1133
本文介绍了错误:无法编译Groovy文件:没有为模块“myprojectname”定义Groovy库。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


I have cloned the project from github and then imported it to inetllij 2017.1. and also added all dependency modules. Basically, we are trying to upgrade our project using latest jars.

When I try to build I get the above error along with 933 errors, jdk 1.7,grails 2.5 and tomcat 8 is used. Run configuration is also throwing error as Run Configuration: cannot execute Note : previous version of my project works perfectly fine with all same settings Please help.

解决方案

Right click on the problematic module and add Groovy support to it:

这篇关于错误:无法编译Groovy文件:没有为模块“myprojectname”定义Groovy库。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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