【发布时间】:2019-11-01 11:41:28
【问题描述】:
我尝试将最后一个 groovy 2.5.8 与 geb-core 3.2 一起使用。
例如
@Grapes([
@Grab("org.gebish:geb-core:3.2"),
@Grab("org.seleniumhq.selenium:selenium-firefox-driver:3.141.59"),
@Grab("org.seleniumhq.selenium:selenium-support:3.141.59")
])
import geb.Browser
browser = new Browser()
println "Hello from test"
生成错误
C:\PROJ\bitb\checkBoard\test>groovy runTest.groovy org.codehaus.groovy.control.MultipleCompilationErrorsException: 启动失败:转换过程中的一般错误:冲突模块 版本。模块 [groovy-xml 在 2.5.8 版本中加载,您是 尝试加载 2.5.6 版
如果我将 geb-core 更改为 2.3.1,它运行良好。也许我应该改变一些配置?
提前致谢!
【问题讨论】: