Javassist dependent jar missing

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/
+4
source share
2 answers

, , Premain-Class transform.My, , , , jar -.

0

, . Boot-Class-Path, .

0

Source: https://habr.com/ru/post/1677069/


All Articles