【问题标题】:Maven Error in eclipse buildEclipse构建中的Maven错误
【发布时间】:2011-12-09 03:23:17
【问题描述】:

我有错误

" [错误] 未能执行目标 org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (default-cli) 项目人员:执行数据库操作时出错: CLEAN_INSERT:没有合适的驱动程序 ${hibernate.connection.url}&sessionVariables=FOREIGN_KEY_CHECKS=0 -> [Help 1] [ERROR] [ERROR] 要查看错误的完整堆栈跟踪, 使用 -e 开关重新运行 Maven。 [错误] 使用 -X 重新运行 Maven 开关以启用完整的调试日志记录。 [错误] [错误] 更多 有关错误和可能的解决方案的信息,请阅读 以下文章:[错误] [帮助 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException "

关于错误的解决方案是什么? 请帮忙

【问题讨论】:

  • mysql 数据库连接器是您的项目/插件依赖项的一部分吗?

标签: jakarta-ee maven


【解决方案1】:

DBUnit 不需要配置属性hibernate.connection.url 来运行您的测试。

【讨论】:

  • 我有 hibernate.connection.url=jdbc:mysql://localhost:3306/cimande?autoReconnect=true&zeroDateTimeBehavior=convertToNull 如何配置它?
  • 使用-Dhibernate.connection.url="jdbc:mysql://localhost:3306/cimande?autoReconnect=true&‌​zeroDateTimeBehavior=convertToNull"运行maven
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-01-19
  • 2012-06-16
  • 2014-05-29
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多