maven - Weblogic Jacoco connection error -
i trying retrieve coverage dump weblogic server using maven project.
after running mvn getting:
failed execute goal org.jacoco:jacoco-maven-plugin:0.7.7.201606060606:report (jacoco-report) on project jacocotest: error has occurred in jacoco report generation. error while creating report: cannot read execution data version 0x1006. version of jacoco uses execution data version 0x1007. -> [help 1]
and in weblogic log:
org.jacoco.agent.rt.internal_6da5971.core.data.incompatibleexecdataversionexception: cannot read execution data version 0x1006. version of jacoco uses execution data version 0x1007. @ org.jacoco.agent.rt.internal_6da5971.core.data.executiondatareader.readheader(executiondatareader.java:129) @ org.jacoco.agent.rt.internal_6da5971.core.data.executiondatareader.readblock(executiondatareader.java:109) @ org.jacoco.agent.rt.internal_6da5971.core.runtime.remotecontrolreader.readblock(remotecontrolreader.java:47) @ org.jacoco.agent.rt.internal_6da5971.core.data.executiondatareader.read(executiondatareader.java:92) @ org.jacoco.agent.rt.internal_6da5971.output.tcpconnection.run(tcpconnection.java:59) @ org.jacoco.agent.rt.internal_6da5971.output.tcpserveroutput$1.run(tcpserveroutput.java:63) @ java.lang.thread.run(thread.java:724)
in pom have:
<groupid>org.jacoco</groupid> <artifactid>jacoco-maven-plugin</artifactid> <version>0.7.7.201606060606</version>
and agent jar,
meta-inf\manifest.mf
implementation-version: 0.7.7.201606060606
"0x1006" version of data produced jacoco versions 0.5.0 - 0.7.4. check don't execute weblogic server old version of jacoco, i.e. used in -javaagent
parameter java
start of weblogic server.
Comments
Post a Comment