I have a grails 2.3.7 project that is using cobertura plugin, it works perfectly fine.
But when I upgraded to 2.3.9 it stopped working.
This is some of the relevant parts of the stacktrace that I get.
Error Cobertura: Error reading from object stream.
java.lang.ClassNotFoundException: net.sourceforge.cobertura.coveragedata.PackageData
...
Cobertura: Coverage data file /home/user/cobertura.ser either does not exist or is not readable. Creating a new data file.
From the info page of grails-coverage-plugin
current version (2.0.3-1):
This plugin will generate code coverage reports using Cobertura.
Currently Grails Forked mode is not supported.
You should to remove forked options from Build.config
. Removing only the test option is enough.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.