当我尝试调试我的代码时,它会在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
答案 0 :(得分:0)
您刚刚升级了grails版本吗?
Grails改变了它处理tomcat和hibernate版本的方式。
在BuildConfig.groovy中,用build ":tomcat:7.0.47"
替换你的tomcat行;和你的休眠行runtime ":hibernate:3.6.10.6" // or ":hibernate4:4.1.11.6"