install4j:Jar 没有打包
install4j: Jar not getting packed
我在打包我的服务 jar 之一时遇到以下错误
install4j:编译失败。原因:java.io.IOException: org/springframework/asm/ClassAdapter.visit(IILLL[L) 包含字节码 00013: invokeinterface InterfaceMethodref:19 Con:1792 具有不受支持的常量引用;请在此 class.
上使用传递文件选项
为避免错误,您可以在包含此 class 的 JAR 文件所在的同一目录中添加一个空文件 <jar name>.jar.nopack
,该 JAR 文件将被排除在 Pack200 压缩之外。
我在打包我的服务 jar 之一时遇到以下错误
install4j:编译失败。原因:java.io.IOException: org/springframework/asm/ClassAdapter.visit(IILLL[L) 包含字节码 00013: invokeinterface InterfaceMethodref:19 Con:1792 具有不受支持的常量引用;请在此 class.
上使用传递文件选项为避免错误,您可以在包含此 class 的 JAR 文件所在的同一目录中添加一个空文件 <jar name>.jar.nopack
,该 JAR 文件将被排除在 Pack200 压缩之外。