栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

spring-boot-starter-mail 2.5.3引入失败

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

spring-boot-starter-mail 2.5.3引入失败

pom.xml配置


            org.springframework.boot
            spring-boot-starter-mail
        

导入后显示



301 Moved Permanently

301 Moved Permanently

Powered by Tengine
tengine

将上面配置删除 换成下面的配置



  
  
  
  
  
  4.0.0
  org.springframework.boot
  spring-boot-starter-mail
  2.5.3
  spring-boot-starter-mail
  Starter for using Java Mail and Spring framework's email sending support
  https://spring.io/projects/spring-boot
  
    Pivotal Software, Inc.
    https://spring.io
  

    
      Apache License, Version 2.0
      https://www.apache.org/licenses/LICENSE-2.0
    
  
  
    
      Pivotal
      info@pivotal.io
      Pivotal Software, Inc.
      https://www.spring.io
    
  
  
    scm:git:git://github.com/spring-projects/spring-boot.git
    scm:git:ssh://git@github.com/spring-projects/spring-boot.git
    https://github.com/spring-projects/spring-boot
  
  
    GitHub
    https://github.com/spring-projects/spring-boot/issues
  
  
    
      org.springframework.boot
      spring-boot-starter
      2.5.3
      compile
    
    
      org.springframework
      spring-context-support
      5.3.9
      compile
    
    
      com.sun.mail
      jakarta.mail
      1.6.7
      compile
    
  


换完之后将pom.xml中配置重新import change才能生效

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/531779.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号