解决Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.6.2 in alimaven

这篇具有很好参考价值的文章主要介绍了解决Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.6.2 in alimaven。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

在部署SpringBoot项目时遇到pom所有版本号爆红,而报错只有标题中的那句话,尝试了多种方法即便不再报错但仍爆红。在查阅和尝试了多种方法后,我决定删除之前的maven镜像配置尝试一下。

方法:

复制一下配置代码,至maven文件下的conf,找到settings.xml,选择文本方式打开文件。

  <mirror>
          <id>nexus-aliyun</id>
          <mirrorOf>central</mirrorOf>
          <name>Nexus aliyun</name>
          <url>http://maven.aliyun.com/nexus/content/groups/public</url>
      </mirror>

解决could not find artifact org.springframework.boot:spring-boot-starter-tes,java,spring boot,数据库

找到以下位置,粘贴保存后退出。

解决could not find artifact org.springframework.boot:spring-boot-starter-tes,java,spring boot,数据库

复制完以后将将项目重启,等待下载配置包。(这里可能要花一点时间,安静等待即可)

最后问题解决。文章来源地址https://www.toymoban.com/news/detail-854487.html

到了这里,关于解决Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.6.2 in alimaven的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 报错 Project ‘org.springframework.boot:spring-boot-starter-parent’ not found 的解决办法

    先上图:  引入spring-boot-starter-parent 依赖的时候总是会有报错。 网上大多数办法都说是maven的问题,但是maven的配置明明没有问题但还是会报错。 那么有可能是缓存的原因,可以清理一下idea的缓存。 如下:  点击图中高亮的选项  选择图中的Inavalidate and Restart  问题解决。

    2024年02月13日
    浏览(96)
  • org.springframework.boot:spring-boot-starter-parent’ not found

    用 Spring Initializr创建的项目,然后点进pom.xml文件,有好几处变红,且报错,且DemoApplication报无法解析符号 ‘SpringBootApplication’  现在这个文件无法启动,且java无法创建类和接口,点击下方加载maven项目就好了 然后现在开始变红报错了,说无法解析符号 \\\'SpringBootApplication\\\'  以下

    2024年02月03日
    浏览(29)
  • Failure to find org.springframework.boot:spring-boot-starter-parent:pom:3.0.1-SNAPSHOT

    使用spring initializr创建maven程序, 在intellij idea中打开时报错: Failure to find org.springframework.boot:spring-boot-starter-parent:pom:3.0.1-SNAPSHOT in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are

    2024年02月16日
    浏览(62)
  • 解决maven仓库导入项目报错问题:maven Could not find artifact org.apache.maven.pluginsmaven-compiler-pluginpom报错问题

    1:首先maven仓库settings.xml加入阿里云配置 mirror       idaliyunmaven/id       mirrorOf*/mirrorOf       name阿里云公共仓库/name       urlhttps://maven.aliyun.com/repository/public/url     /mirror 2:在加入项目的时候报错maven Could not find artifact org.apache.maven.pluginsmaven-compiler-pluginpom这个问题的时候

    2024年02月16日
    浏览(38)
  • idea创建spring项目后报错‘org.springframework.boot:spring-boot-starter-parent:2.7.3‘ not found

    创建新项目后spring-boot-starter-parent找不到,原因在于新建项目选择了spring-boot-starter-parent新版本,而缓存中还是使用的老版本导致。 idea默认缓存maven本地库中的依赖库,在新建项目时会直接到缓存中寻找依赖库。如果相同库只是修改版本会导致idea无法从缓存中依赖到相应的库

    2024年02月07日
    浏览(45)
  • org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representatio

    封装springboot返回值+枚举出现org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representation 代码实现 1.定义返回值类ResultData 2.定义枚举类CTPEnum 3.定义请求controller } 4.启动程序 5.发送请求 6.问题+解决 Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could n

    2024年02月02日
    浏览(76)
  • org.springframework.web.HttpMediaTypeNotAcceptableException:Could not find acceptable representation

    SpringBoot 表现层消息一致性处理 项目环境: springboot + mybatis-plusde ... 传输数据格式:json Postman出现请求错误: IDEA控制台警告信息: WARN 11568 --- [p-nio-80-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable representati

    2024年02月14日
    浏览(34)
  • 报错:Resolved [org.springframework.web.HttpMediaTypeNotAcceptableException: Could not find acceptable

    前言 这段时间想着之前开发的项目不够完善,并且代码写的不够规范,就想着独立规范的开发一个项目,趁此整合学过的技术和丰富自己的项目经验以及规范代码。 正文 错误出现 项目跑起来之后,进行接口测试,发现响应出错  返回控制台,查看日志输出: 项目错误信息

    2024年02月01日
    浏览(33)
  • 【已解决】Could not find artifact mysql:mysql-connector

    今天遇到个问题困扰了我20分钟,我最终解决了他,写下此篇博客。原问题是: 在pom.xml文件中指定你的mysql版本。 便可解决此问题了。亲自验证。

    2024年02月11日
    浏览(32)
  • 逐步解决Could not find artifact com:ojdbc8:jar:12

    Could not find artifact com:ojdbc8:jar:12 in central (https://repo.maven.apache.org/maven2) 原因: ojdbc8:jar:12 属于Oracle 数据库链接的一个程序集,缺失的话很有可能会影响数据库链接,蝴蝶效应产生不可预测的BUG!但是版权问题,Maven已经不能从自己的云库中加载了。都需要单独手动安装! JD

    2024年02月07日
    浏览(37)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包