Javassist using a jar file

后端 未结 1 1733
我寻月下人不归
我寻月下人不归 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)
提交回复
热议问题