jacoco-maven-plugin:prepare-agent

[ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default-cli) on project littlec-common: Execution default-cli of goal org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:prepare-agent failed: A required class was missing while executing org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:prepare-agent: org/jacoco/core/runtime/AgentOptions
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.jacoco:jacoco-maven-plugin:0.7.7.201606060606
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/Maven_Repository/org/jacoco/jacoco-maven-plugin/0.7.7.201606060606/jacoco-maven-plugin-0.7.7.201606060606.jar
[ERROR] urls[1] = file:/D:/Maven_Repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] : org.jacoco.core.runtime.AgentOptions
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

原因:org.jacoco:jacoco-maven-plugin:0.7.7.201606060606包没有导进来
解决:修改版本好为org.jacoco:jacoco-maven-plugin:0.8.0测试成功,成功之后版本号修改回来org.jacoco:jacoco-maven-plugin:0.7.7.201606060606测试ok