请助:Exception in thread “main“ java.lang.NoClassDefFoundError: java/util/logging/Logger

MINGW64 /e/postman2jmx (master)
$ mvn package
constituent[0]: file:/E:/apache-maven-3.6.3/conf/logging/
constituent[1]: file:/E:/apache-maven-3.6.3/lib/cdi-api-1.0.jar
constituent[2]: file:/E:/apache-maven-3.6.3/lib/commons-cli-1.4.jar
constituent[3]: file:/E:/apache-maven-3.6.3/lib/commons-io-2.5.jar
constituent[4]: file:/E:/apache-maven-3.6.3/lib/commons-lang3-3.8.1.jar
constituent[5]: file:/E:/apache-maven-3.6.3/lib/commons-logging-1.1.1.jar
constituent[6]: file:/E:/apache-maven-3.6.3/lib/guava-25.1-android.jar
constituent[7]: file:/E:/apache-maven-3.6.3/lib/guice-4.2.1-no_aop.jar
constituent[8]: file:/E:/apache-maven-3.6.3/lib/jansi-1.17.1.jar
constituent[9]: file:/E:/apache-maven-3.6.3/lib/javax.inject-1.jar
constituent[10]: file:/E:/apache-maven-3.6.3/lib/jcl-over-slf4j-1.7.29.jar
constituent[11]: file:/E:/apache-maven-3.6.3/lib/jsoup-1.12.1.jar
constituent[12]: file:/E:/apache-maven-3.6.3/lib/jsr250-api-1.0.jar
constituent[13]: file:/E:/apache-maven-3.6.3/lib/maven-artifact-3.6.3.jar
constituent[14]: file:/E:/apache-maven-3.6.3/lib/maven-builder-support-3.6.3.jar

constituent[15]: file:/E:/apache-maven-3.6.3/lib/maven-compat-3.6.3.jar
constituent[16]: file:/E:/apache-maven-3.6.3/lib/maven-compiler-plugin-3.1.jar
constituent[17]: file:/E:/apache-maven-3.6.3/lib/maven-core-3.6.3.jar
constituent[18]: file:/E:/apache-maven-3.6.3/lib/maven-embedder-3.6.3.jar
constituent[19]: file:/E:/apache-maven-3.6.3/lib/maven-jar-plugin-2.4.jar
constituent[20]: file:/E:/apache-maven-3.6.3/lib/maven-model-3.6.3.jar
constituent[21]: file:/E:/apache-maven-3.6.3/lib/maven-model-builder-3.6.3.jar
constituent[22]: file:/E:/apache-maven-3.6.3/lib/maven-plugin-api-3.6.3.jar
constituent[23]: file:/E:/apache-maven-3.6.3/lib/maven-repository-metadata-3.6.3.jar
constituent[24]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-api-1.4.1.jar
constituent[25]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-connector-basic-1.4.1.jar
constituent[26]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-impl-1.4.1.jar
constituent[27]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-provider-3.6.3.jar
constituent[28]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-spi-1.4.1.jar
constituent[29]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-transport-wagon-1.4.1.jar
constituent[30]: file:/E:/apache-maven-3.6.3/lib/maven-resolver-util-1.4.1.jar
constituent[31]: file:/E:/apache-maven-3.6.3/lib/maven-settings-3.6.3.jar
constituent[32]: file:/E:/apache-maven-3.6.3/lib/maven-settings-builder-3.6.3.jar
constituent[33]: file:/E:/apache-maven-3.6.3/lib/maven-shared-utils-3.2.1.jar
constituent[34]: file:/E:/apache-maven-3.6.3/lib/maven-slf4j-provider-3.6.3.jar
constituent[35]: file:/E:/apache-maven-3.6.3/lib/org.eclipse.sisu.inject-0.3.4.jar
constituent[36]: file:/E:/apache-maven-3.6.3/lib/org.eclipse.sisu.plexus-0.3.4.jar
constituent[37]: file:/E:/apache-maven-3.6.3/lib/plexus-cipher-1.7.jar
constituent[38]: file:/E:/apache-maven-3.6.3/lib/plexus-component-annotations-2.1.0.jar
constituent[39]: file:/E:/apache-maven-3.6.3/lib/plexus-interpolation-1.25.jar
constituent[40]: file:/E:/apache-maven-3.6.3/lib/plexus-sec-dispatcher-1.4.jar
constituent[41]: file:/E:/apache-maven-3.6.3/lib/plexus-utils-3.2.1.jar
constituent[42]: file:/E:/apache-maven-3.6.3/lib/slf4j-api-1.7.29.jar
constituent[43]: file:/E:/apache-maven-3.6.3/lib/wagon-file-3.3.4.jar
constituent[44]: file:/E:/apache-maven-3.6.3/lib/wagon-http-3.3.4-shaded.jar
constituent[45]: file:/E:/apache-maven-3.6.3/lib/wagon-provider-api-3.3.4.jar

Exception in thread “main” java.lang.NoClassDefFoundError: java/util/logging/Logger
at com.google.inject.internal.util.Stopwatch.(Stopwatch.java:27)
at com.google.inject.internal.InternalInjectorCreator.(InternalInjectorCreator.java:60)
at com.google.inject.Guice.createInjector(Guice.java:87)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:481)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:206)
at org.apache.maven.cli.MavenCli.container(MavenCli.java:636)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:282)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.lang.ClassNotFoundException: java.util.logging.Logger
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
请大神们帮助给看下,提供下解决思路,谢谢
jdk配置如图
jdk版本10.0.1,安装成功后的目录
在这里插入图片描述
在执行mvn package时,总报告,因为在jdk中又添加了jre文件
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
path
在这里插入图片描述

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页