当前位置: 首页 > news >正文

报错:java: 无法访问org.springframework.boot.SpringApplication

idea报错内容:

java: 无法访问org.springframework.boot.SpringApplication

报错原因:

<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>3.4.0</version><relativePath/> <!-- lookup parent from repository -->
</parent>

springboot的版本太高,和jdk版本不匹配,
这里使用的是jdk1.8

修改方法

<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.7.15</version><relativePath/> <!-- lookup parent from repository -->
</parent>

降低springboot的版本即可

http://www.lryc.cn/news/493634.html

相关文章:

  • 线上+线下≠新零售,6大互通诠释新零售的核心要点-亿发
  • GitHub Copilot革命性更新:整合顶尖AI模型,如何重塑开发体验?
  • AWS账户是否支持区域划分?
  • Easy Excel 通过【自定义批注拦截器】实现导出的【批注】功能
  • 整数对最小和(Java Python JS C++ C )
  • MySQL 启动失败问题分析与解决方案:`mysqld.service failed to run ‘start-pre‘ task`
  • 谷歌浏览器Chrome打开百度很慢,其他网页正常的解决办法,试了很多,找到了适合的
  • 深度学习Pytorch中的模型保存与加载方法
  • 小红书矩阵运营:怎么通过多个账号来提升品牌曝光?
  • Llama-2-7b:vocab size:32000;embeddings:4096;hidden_layers是什么意思
  • 【moveit!】ROS学习笔记
  • 【Leetcode 每日一题 - 补卡】3259. 超级饮料的最大强化能量
  • 【人工智能】使用Python实现序列到序列(Seq2Seq)模型进行机器翻译
  • 量化交易系统开发-实时行情自动化交易-4.4.1.做市策略实现
  • Pinia之2:计数器案例、computed函数、异步action、storeToRefs函数、pinia调试
  • Microsoft Excel如何插入多行
  • Redis【1】- 如何阅读Redis 源码
  • shell查看服务器的内存和CPU,实时使用情况
  • 软件/游戏提示:mfc42u.dll没有被指定在windows上运行如何解决?多种有效解决方法汇总分享
  • 《Python基础》之函数、模块与库
  • selinux和防火墙实验
  • k8s Init:ImagePullBackOff 的解决方法
  • Spring AOP相关知识详解
  • selinux和防火墙
  • 【vue for beginner】Composition API 和 Options API 的区别
  • jmeter5.6.3安装教程
  • 关于Spring基础了解
  • 输入json 达到预览效果
  • DataLoade类与list ,iterator ,yield的用法
  • model_selection.train_test_split函数介绍