I am trying to complete java instrumentation on my local Glassfish server. When it tries to change the bytecode, I get
Severe: javassist.CannotCompileException: cannot find javax.ws.rs.core.Response on javassist.CtBehavior.insertBefore (CtBehavior.java:771)
For me, it looked like a problem with the jar file created, but I checked manifest.mf and included the location of the maven dependency. Any suggestions?
Premain-Class: com.agent.TestAgent
Agent-class: com.agent.TestAgent
Boot-Class-Path: D:/TEST_PROJ/WebContent/WEB-INF/lib/ C:/Users/djones/
Class-Path: D:/TEST_PROJ/WebContent/WEB-INF/lib/ C:/Users/djones/
source
share