解决办法:
在pom文件中添加 jar包
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.4.32</version>
</dependency>
<!-- https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.8.12</version>
</dependency>
本文介绍了解决在项目中引入Byte Buddy相关依赖的方法。通过在pom文件中添加指定版本的byte-buddy和byte-buddy-agent两个依赖,可以实现对字节码操作的支持。
2026

被折叠的 条评论
为什么被折叠?



