当我尝试调试代码时,它在GGTS中显示以下错误,如何解决?
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#code-coverage;1.1.7: not found
:: org.grails.plugins#tomcat;1.3.1: not found
:: org.grails.plugins#hibernate;1.3.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
| Error Failed to resolve dependencies
(Set log level to 'warn' in BuildConfig.groovy for more information):
- org.grails.plugins:code-coverage:1.1.7
- org.grails.plugins:tomcat:1.3.1
- org.grails.plugins:hibernate:1.3.1
最佳答案
您刚刚升级了grails版本吗?
Grails改变了它处理tomcat和休眠版本的方式。
在您的BuildConfig.groovy中,将您的tomcat行替换为build ":tomcat:7.0.47"
;和你的休眠行通过runtime ":hibernate:3.6.10.6" // or ":hibernate4:4.1.11.6"
关于grails - 我在GGTS中得到的解决方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21385077/