我们想使用 ActiveJDBC 进行数据库访问。到目前为止,在我们的 IDE 中使用 ActiveJDBC 检测遇到一些小障碍后,一切都按预期工作。
但是,我们使用 Maven 构建我们的项目并使用 Cobertura 报告 Maven 站点构建中的代码覆盖率。似乎 ActiveJDBC 检测和 Cobertura 的代码覆盖检测不能一起使用。
在构建我们的 Maven 站点时,我们在 Cobertura 的代码覆盖率分析期间收到以下错误:
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project settings-core:
failed to get report for org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal org.javalite:activejdbc-instrumentation:1.4.11:instrument (classes) on project settings-core:
Failed to add output directory to classpath:
org.javalite.instrumentation.InstrumentationException: java.lang.RuntimeException: <..>.Setting class is frozen -> [Help 1]
有什么办法可以让两个人一起玩吗?