java - JaCoCo and Aspectj -


i've bean using jacoco in maven multimodule project , want add aspectj magic , i'm getting following error during test run

start java.lang.instrument.illegalclassformatexception:

error while instrumenting class de/../loggingaspect. 

underneath message stack trace once more shows:

caused by: java.lang.illegalstateexception: missing or invalid stackmap frames. 

how can use jacoco aspectj?

i had same problem when using java 1.6. aspectj compile-time weaving produced class files jacoco found invalid.

the combination of java 1.7 + aspectj 1.7.3 + jacoco 0.6.3.201306030806 works me.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -