diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2016-08-22 20:58:14 +0200 |
---|---|---|
committer | Evgeny Mandrikov <Godin@users.noreply.github.com> | 2016-08-22 20:58:14 +0200 |
commit | 2a3b75687e8071cc65b942125fc939547e0f8525 (patch) | |
tree | fbfe013b79e28131a444c98df00cd39da2219927 /org.jacoco.doc/docroot | |
parent | a0afcd67fa64432e089df89fc7b50676ee64e915 (diff) | |
download | jacoco-2a3b75687e8071cc65b942125fc939547e0f8525.tar.gz |
Clarify runtime dependency in case of offline instrumentation (#445). (#445)
Diffstat (limited to 'org.jacoco.doc/docroot')
-rw-r--r-- | org.jacoco.doc/docroot/doc/faq.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/org.jacoco.doc/docroot/doc/faq.html b/org.jacoco.doc/docroot/doc/faq.html index aa38a2d9..0efbce51 100644 --- a/org.jacoco.doc/docroot/doc/faq.html +++ b/org.jacoco.doc/docroot/doc/faq.html @@ -141,6 +141,14 @@ <code>-Xshareclasses:none</code>. </p> +<h3>Why do I get an error "<code>ClassNotFoundException: org.jacoco.agent[...]Offline</code>"?</h3> +<p> + If you use <a href="offline.html">offline instrumentation</a> the instrumented + classes get a direct dependency on the JaCoCo runtime. Therefore + <code>jacocoagent.jar</code> of the same JaCoCo version must be on the + classpath and accessible from by the instrumented classes. +</p> + </div> <div class="footer"> <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span> |