C:\ProfessionalSoftware\java\bin\java.exe -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Didea.launcher.port=62116 "-Didea.launcher.bin.path=C:\ProfessionalSoftware\IntelliJ IDEA 2018.3.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes;C:\ProfessionalSoftware\MavenRepository\com\baomidou\mybatis-plus-boot-starter\3.1.0\mybatis-plus-boot-starter-3.1.0.jar;C:\ProfessionalSoftware\MavenRepository\com\baomidou\mybatis-plus\3.1.0\mybatis-plus-3.1.0.jar;C:\ProfessionalSoftware\MavenRepository\com\baomidou\mybatis-plus-extension\3.1.0\mybatis-plus-extension-3.1.0.jar;C:\ProfessionalSoftware\MavenRepository\com\baomidou\mybatis-plus-core\3.1.0\mybatis-plus-core-3.1.0.jar;C:\ProfessionalSoftware\MavenRepository\com\baomidou\mybatis-plus-annotation\3.1.0\mybatis-plus-annotation-3.1.0.jar;C:\ProfessionalSoftware\MavenRepository\com\github\jsqlparser\jsqlparser\1.4\jsqlparser-1.4.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-autoconfigure\2.1.2.RELEASE\spring-boot-autoconfigure-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\projectlombok\lombok\1.18.6\lombok-1.18.6.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter-jdbc\2.1.2.RELEASE\spring-boot-starter-jdbc-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter\2.1.2.RELEASE\spring-boot-starter-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter-logging\2.1.2.RELEASE\spring-boot-starter-logging-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\ProfessionalSoftware\MavenRepository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\ProfessionalSoftware\MavenRepository\org\apache\logging\log4j\log4j-to-slf4j\2.11.1\log4j-to-slf4j-2.11.1.jar;C:\ProfessionalSoftware\MavenRepository\org\apache\logging\log4j\log4j-api\2.11.1\log4j-api-2.11.1.jar;C:\ProfessionalSoftware\MavenRepository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\ProfessionalSoftware\MavenRepository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\ProfessionalSoftware\MavenRepository\org\yaml\snakeyaml\1.23\snakeyaml-1.23.jar;C:\ProfessionalSoftware\MavenRepository\com\zaxxer\HikariCP\3.2.0\HikariCP-3.2.0.jar;C:\ProfessionalSoftware\MavenRepository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-jdbc\5.1.4.RELEASE\spring-jdbc-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter-web\2.1.2.RELEASE\spring-boot-starter-web-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter-json\2.1.2.RELEASE\spring-boot-starter-json-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\core\jackson-databind\2.9.8\jackson-databind-2.9.8.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\core\jackson-core\2.9.8\jackson-core-2.9.8.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.8\jackson-datatype-jdk8-2.9.8.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.8\jackson-datatype-jsr310-2.9.8.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.8\jackson-module-parameter-names-2.9.8.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-starter-tomcat\2.1.2.RELEASE\spring-boot-starter-tomcat-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\apache\tomcat\embed\tomcat-embed-core\9.0.14\tomcat-embed-core-9.0.14.jar;C:\ProfessionalSoftware\MavenRepository\org\apache\tomcat\embed\tomcat-embed-el\9.0.14\tomcat-embed-el-9.0.14.jar;C:\ProfessionalSoftware\MavenRepository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.14\tomcat-embed-websocket-9.0.14.jar;C:\ProfessionalSoftware\MavenRepository\org\hibernate\validator\hibernate-validator\6.0.14.Final\hibernate-validator-6.0.14.Final.jar;C:\ProfessionalSoftware\MavenRepository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\ProfessionalSoftware\MavenRepository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\ProfessionalSoftware\MavenRepository\com\fasterxml\classmate\1.4.0\classmate-1.4.0.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-web\5.1.4.RELEASE\spring-web-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-webmvc\5.1.4.RELEASE\spring-webmvc-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-aop\5.1.4.RELEASE\spring-aop-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-context\5.1.4.RELEASE\spring-context-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-expression\5.1.4.RELEASE\spring-expression-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;C:\ProfessionalSoftware\MavenRepository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;C:\ProfessionalSoftware\MavenRepository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;C:\ProfessionalSoftware\MavenRepository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;C:\ProfessionalSoftware\MavenRepository\mysql\mysql-connector-java\5.1.45\mysql-connector-java-5.1.45.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-core\5.1.4.RELEASE\spring-core-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-jcl\5.1.4.RELEASE\spring-jcl-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\com\alibaba\druid\1.1.8\druid-1.1.8.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot-devtools\2.1.2.RELEASE\spring-boot-devtools-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\boot\spring-boot\2.1.2.RELEASE\spring-boot-2.1.2.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-tx\4.3.9.RELEASE\spring-tx-4.3.9.RELEASE.jar;C:\ProfessionalSoftware\MavenRepository\org\springframework\spring-beans\5.1.4.RELEASE\spring-beans-5.1.4.RELEASE.jar;C:\ProfessionalSoftware\IntelliJ IDEA 2018.3.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMainV2 com.exam.ExamsystemApplication
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
2021-04-10 19:41:40.955 ERROR 18592 --- [  restartedMain] o.s.b.c.l.LoggingApplicationListener     : Cannot set level 'apper=debug ' for 'com.exam.m'

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.1.2.RELEASE)

2021-04-10 19:41:41.004  INFO 18592 --- [  restartedMain] com.exam.ExamsystemApplication           : Starting ExamsystemApplication on LAPTOP-E72O7ND4 with PID 18592 (C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes started by andyf in C:\CodeSpace\Code-For-paper\usevue\examboot\examboot)
2021-04-10 19:41:41.004  INFO 18592 --- [  restartedMain] com.exam.ExamsystemApplication           : No active profile set, falling back to default profiles: default
2021-04-10 19:41:41.038  INFO 18592 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable
2021-04-10 19:41:41.038  INFO 18592 --- [  restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG'
2021-04-10 19:41:41.102  WARN 18592 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
2021-04-10 19:41:41.185 ERROR 18592 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
	at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:454) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:275) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:132) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:287) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:242) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:315) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:232) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) ~[spring-boot-2.1.2.RELEASE.jar:2.1.2.RELEASE]
	at com.exam.ExamsystemApplication.main(ExamsystemApplication.java:11) ~[classes/:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) ~[spring-boot-devtools-2.1.2.RELEASE.jar:2.1.2.RELEASE]
Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
	at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:57) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:430) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	... 25 common frames omitted
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 58
	at org.springframework.asm.ClassReader.<init>(ClassReader.java:184) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.asm.ClassReader.<init>(ClassReader.java:166) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.asm.ClassReader.<init>(ClassReader.java:152) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.asm.ClassReader.<init>(ClassReader.java:273) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:54) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
	... 28 common frames omitted


Process finished with exit code 0

2021-04-10 19:41:41.102  WARN 18592 --- [  restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
2021-04-10 19:41:41.185 ERROR 18592 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
    at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:454) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:316) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:275) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:132) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]

 

 

Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [C:\CodeSpace\Code-For-paper\usevue\examboot\examboot\target\classes\com\exam\ExamsystemApplication.class]; nested exception is java.lang.IllegalArgumentException: Unsupported class file major version 58
    at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:57) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:103) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:123) ~[spring-core-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.scanCandidateComponents(ClassPathScanningCandidateComponentProvider.java:430) ~[spring-context-5.1.4.RELEASE.jar:5.1.4.RELEASE]
    ... 25 common frames omitted
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 58

 

类似问题  解决方法 都不行。

https://blog.csdn.net/aicaishi2298/article/details/102377565

 

*******************************************************************

*******************************

********

**

【错误2】

Project 'org.springframework.boot:spring-boot-starter-parent:4.3.9.RELEASE' not found less... (Ctrl+F1) 
Inspection info: Inspects a Maven model for resolution problems.

方法一、

在该文件中  加入 如下代码。位置 如截图所示。

    <mirror>

      <id>alimaven</id>

      <name>aliyun maven</name>

      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>

      <mirrorOf>central</mirrorOf>        

    </mirror>

 

方法二、

在 pom 配置文件中加入 如下代码:

    <repositories>
        <repository>
            <id>spring-snapshots</id>
            <url>http://repo.spring.io/libs-snapshot</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>spring-snapshots</id>
            <url>http://repo.spring.io/libs-snapshot</url>
        </pluginRepository>
    </pluginRepositories>

位置如图

 

在国外网站上查到,version 56是指Java12

jdk-12.0.1(version 56)

jdk-11.0.4(version55)

所以 version 58 就是我的 jdk版本为 14,不合适。

在网上看的  大家一直认为 JDK1.8【也就是 JDK8 】

JDK命名顺序

1.1 

1.2   

1.3

1.4

5       6     7     8   9   ....

解决方法 :

 

卸载之前的JDK14

https://blog.csdn.net/weixin_42230396/article/details/81067550

 

无法卸载:https://jingyan.baidu.com/article/2d5afd6937567785a2e28eef.html

 

安装新的 JDK1.8

 

教程:https://blog.csdn.net/zam183/article/details/105551399

 

JDK下载网址:https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐