Javassist using a jar file

后端 未结 1 1734
我寻月下人不归
我寻月下人不归 2021-01-27 02:03

How do I add a jar file to the search path for javassist and have it work correctly? I am trying to modify a jar file without unjaring then rejaring.

import jav         


        
1条回答
  •  迷失自我
    2021-01-27 02:37

    Solved it simply:

    pool.insertClassPath( "/Path/from/root/myjarfile.jar" );
    

    0 讨论(0)
提交回复
热议问题