开发者社区 问答 正文

spring在xml中配置邮件发送类出错?

screenshot
根据上面的提示说,没找到相应的类。可我查了lib中的包有org.springframework.context.support-3.1.1.RELEASE.jar包,为什么还会出错screenshot

展开
收起
a123456678 2016-03-17 15:32:40 2153 分享 版权
1 条回答
写回答
取消 提交回答
  • 缺少下面的jar包,添加进去即可

    <dependency>
          <groupId>javax.mail</groupId>
          <artifactId>mail</artifactId>
          <version>1.5.0-b01</version>
        </dependency>
    2019-07-17 19:05:31
    赞同 展开评论