当前位置:主页 > 查看内容

The ApplicationContext could not start as ‘org.springframew

发布时间:2021-05-28 00:00| 位朋友查看

简介:完整错误 2021-04-09 15:21:08.574 ERROR 18760 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter : ***************************APPLICATION FAILED TO START***************************Description:The ApplicationContext could not start……

完整错误:

2021-04-09 15:21:08.574 ERROR 18760 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

The ApplicationContext could not start as 'org.springframework.aot.StaticSpringFactories' that is generated by the Spring AOT plugin could not be found.

Action:

Review your local configuration and make sure that the Spring AOT plugin is configured properly.
If you're trying to run your application with 'mvn spring-boot:run', please use 'mvn package spring-boot:run' instead.
See https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#spring-aot for more details.


Process finished with exit code 0

原因:手残导入了一个包,去掉就可以啦!!!就是下面这个删除就可!!!

        <!--<spring-native.version>0.9.1</spring-native.version>-->        
        <dependency>
            <groupId>org.springframework.experimental</groupId>
            <artifactId>spring-native</artifactId>
            <version>${spring-native.version}</version>
        </dependency>

?

;原文链接:https://blog.csdn.net/lgz0921/article/details/115551648
本站部分内容转载于网络,版权归原作者所有,转载之目的在于传播更多优秀技术内容,如有侵权请联系QQ/微信:153890879删除,谢谢!

推荐图文


随机推荐