byxiaobai
本帖最后由 byxiaobai 于 2022-10-27 19:48 编辑
  1. Absent Code attribute in method that is not native or abstract in class file org/bukkit/entity/Entity
  2. java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file org/bukkit/entity/Entity
  3.         at java.lang.ClassLoader.defineClass1(Native Method)

复制代码
  1. testImplementation(fileTree("testLibs"))
复制代码
直接引入1.16的API即可,1.18由于版本特性不能直接引入


咸鱼523
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file org/bukkit/entity/Entity

没有引入jar包(或者没有打包相关jar

第一页 上一页 下一页 最后一页