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

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

问题描述

我已经从github克隆了该项目,然后将其导入到inetllij 2017.1.并添加了所有依赖模块.基本上,我们正在尝试使用最新的 jar 升级我们的项目.

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.

当我尝试构建时,出现上述错误以及 933 错误,使用了 jdk 1.7、grails 2.5 和 tomcat 8.运行配置也抛出错误运行配置:无法执行注意:我的项目的以前版本在所有相同的设置下都可以正常工作请帮忙.

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.

推荐答案

右键单击有问题的模块并为其添加 Groovy 支持:

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

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

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