Unresolved dependency: ‘org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:xxx‘

这篇具有很好参考价值的文章主要介绍了Unresolved dependency: ‘org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:xxx‘。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1.问题

Unresolved dependency: 'org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:xxx'

2.原因

pom.xml文件的依赖直接爆红的原因时,本地Maven仓库中没有或者maven仓库中存在的版本与导入的版本号不相符

3.解决方法

方法1:

找到本地maven仓库,删除你要导入的依赖包,重新下载

方法2:

找到本地maven仓库,对应的版本号添加
maven仓库的地址
unresolved dependency,排错bug,mybatis,spring,jar
unresolved dependency,排错bug,mybatis,spring,jar
导入本地仓库已经存在的版本号
unresolved dependency,排错bug,mybatis,spring,jar文章来源地址https://www.toymoban.com/news/detail-823537.html

到了这里,关于Unresolved dependency: ‘org.mybatis.spring.boot:mybatis-spring-boot-starter:jar:xxx‘的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • java: 无法访问org.mybatis.spring.annotation.MapperScan

    springboot与mybatis整合时报如上错误: 参考该篇文章:https://wenku.csdn.net/answer/6jghdrg8j6,解决该问题,之前使用的Mybatis-spring依赖的版本3.0.1太高,将版本改为2.2.2,使用maven重新reload project,再次编译,该问题被解决。

    2024年02月03日
    浏览(29)
  • org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyR

    org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 2 这个错误是我在集成SpringBoot项目测试数据库时遇到的问题。这是Mybatis最常见的一个异常TooManyResultsException。 原因:看报错的信息,

    2024年02月10日
    浏览(32)
  • 完美解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflec

    已解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflec 下滑查看解决方法 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflec org.mybatis.spring.MyBatisSystemException是MyBatis与Spring集成时可能出现的异常,主要原因是在MyBatis的配置或使用过程中出现了

    2024年02月15日
    浏览(34)
  • 已解决org.springframework.boot:spring-boot-maven-plugin:

    已解决org.springframework.boot:spring-boot-maven-plugin: org.springframework.boot:spring-boot-maven-plugin: org.springframework.boot:spring-boot-maven-plugin 是 Spring Boot 提供的一个 Maven 插件,它用于将 Spring Boot 应用打包成可执行的 JAR 文件或者 WAR 文件。 下滑查看解决方法 该插件提供了许多功能,如将依赖

    2024年02月08日
    浏览(33)
  • 已解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.Bi

    已解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.Bi org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.Bi 对于org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException的错误,一般是由于MyBatis配置问题引起的。

    2024年02月08日
    浏览(44)
  • 完美解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Per

    已解决org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste 下滑查看解决方法 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: Error quer

    2024年02月11日
    浏览(29)
  • 最全解决方案:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.

    📢CSDN博客主页:低山高梧桐-致力于做最优质的内容 📢如果涉及到版权问题,烦请联系作者删除! 📢如果文章有谬误,烦请您指出斧正,作者致力于做最好的博客。 📢整合:低山高梧桐 首发于CSDN 欢迎点赞👍收藏⭐留言打扰📝 首先需要检查数据库配置文件中的这几样有

    2024年02月03日
    浏览(36)
  • 【Spring Boot】数据库持久层框架MyBatis — Spring Boot构建MyBatis应用程序

    Spring Boot是用于快速构建Spring应用程序的框架。MyBatis是一种Java持久化框架,可以帮助开发人员轻松地管理数据库。将Spring Boot与MyBatis结合使用可以使开发人员更容易地创建和管理数据库应用程序。 以下是使用Spring Boot构建MyBatis应用程序的步骤: 添加MyBatis依赖项:在项目的

    2024年02月10日
    浏览(42)
  • Error:(3,37) java: 无法访问org.mybatis.spring.annotation.MapperScan

    1.Error:(3,37) java: 无法访问org.mybatis.spring.annotation.MapperScan 编译的时候不通过,原因是我因为版本太高了,我换了个低的版本编译就没问题了 编译成功。 然后现在又遇到了另一个问题 执行run Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.447 s FAILURE! - in com.example.swagger_demo.

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

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

    2024年02月03日
    浏览(29)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包