error: the input doesn't contain any classes. did you specify the proper '-尊龙官方平台

error: the input doesn't contain any classes. did you specify the proper '-injars' options?

el/2024/3/25 20:38:12

执行maven install打包的时候,出现以下错误信息:

[proguard] proguard, version 4.4[proguard] reading program war [f:\workspaces\pro-test\target\pro-test-0.0.1-snapshot.war] (filtered)[proguard] error: the input doesn't contain any classes. did you specify the proper '-injars' options?

由于这个是一个测试工程,还没有添加任何的类,所以虽然pom文件中指定了“injars”参数,还是产生了此错误。

“injars”参数设置参考:

            <plugin><groupid><

http://www.ngui.cc/el/5128040.html

相关文章

error: unsupported java version '1.8' in line 2 of file 'proguard.conf'

执行maven install打包的时候,出现以下错误信息: [proguard] error: unsupported java version 1.8 in line 2 of file f:\workspaces\pro-test\proguard.conf,[proguard] included from argument number 6 这是因为在proguard.conf文件中显示的指定的java的版本,但是ne…

java.io.ioexception: the same input jar [e:\jre\lib\rt.jar] is specified twice.

执行maven install打包的时候,出现以下错误信息: [info] proguard jar: e:\maven\mvnrespo\net\sf\proguard\proguard-base\5.2\proguard-base-5.2.jar[proguard] proguard, version 5.2[proguard] java.io.ioexception: the same input jar [e:\jre\li…

java.io.ioexception: you have to specify '-keep' options for the shrinking step.

执行maven install打包的时候,出现以下错误信息: [proguard] java.io.ioexception: you have to specify -keep options for the shrinking step.[proguard] at proguard.seedprinter.write(seedprinter.java:60)[proguard] at proguard.progua…

proguard.parseexception: expecting keyword 'class', 'interface', or 'enum' before '-libraryjars' in

执行maven install打包的时候,出现以下错误信息: [proguard] proguard.parseexception: expecting keyword class, interface, or enum before -libraryjars in argument number 7[proguard] at proguard.configurationparser.readnextword(configur…

error: expecting keyword 'class', 'interface', or 'enum' before '-optimizationpasses' in line 11 of

执行maven install打包的时候,出现以下错误信息: [proguard] error: expecting keyword class, interface, or enum before -optimizationpasses in line 11 of file f:\workspaces\pro-test\proguard.conf,[proguard] included from argument number …

java.io.ioexception: the output jar is empty. did you specify the proper '-keep' options?

执行maven install打包的时候,出现以下错误信息: [proguard] java.io.ioexception: the output jar is empty. did you specify the proper -keep options?[proguard] at proguard.shrink.shrinker.execute(shrinker.java:171)[proguard] at pr…

ignoring unused library classes...java.io.ioexception: you have to specify '-keep' options for the s

执行maven install打包的时候,出现以下错误信息: ignoring unused library classes…java.io.ioexception: you have to specify ‘-keep’ options for the shrinking step. [proguard] ignoring unused library classes...java.io.ioexception: you h…

an internal error occurred during: loading descriptor for pro-test..

在执行maven update的时候,提示以下错误: an error has occurred. see error log for more details. 详细错误: an error has occurred. see error log for more details. java.lang.nullpointerexception 重新启动eclipse之后提示以下两…

什么是bom(byte order mark)?

bom(byte order mark),字节顺序标记,出现在文本文件头部,unicode编码标准中用于标识文件是采用哪种格式的编码,但它对于文件的读者来说是不可见字符。 下表列出不同的字符编码的bom 编码bom (十六进制)bom…

java 有包名的类调用没有包名的类

在java中怎样在有名包中引用无名包中的类 除非都是没有包名而且在同一个文件夹下的类才能互相引用 不符合这个条件的必须有包名才能被引用
网站地图