java - Unable to start Spray with AspectJWeaver -


i trying set kamon on spray / akka service not getting far unfortunately.

i use sbt-assembly plugin build single jar file run simple java -jar service.jar.

i naively thought able weave service java -javaagent:aspectj-1.8.8.jar -jar service.jar :

objc[13280]: class javalaunchhelper implemented in both /library/java/javavirtualmachines/jdk1.8.0_40.jdk/contents/home/bin/java , /library/java/javavirtualmachines/jdk1.8.0_40.jdk/contents/home/jre/lib/libinstrument.dylib. 1 of 2 used. 1 undefined. failed find premain-class manifest attribute in aspectj-1.8.8.jar error occurred during initialization of vm agent library failed init: instrument

and of course, service doesn't start. (it works fine without aspectj. tried aspectj 1.7.4 , paths correct.

any / pointer appreciated !

the solution because starting jvm aspectj , not aspectjweaver... !


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -