![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
文章平均质量分 69
llljw
这个作者很懒,什么都没留下…
展开
-
Spring IOC源码解析 xml篇
Spring中使用ClassPathXmlApplicationContext加载XML文件 public static void main(String[] args) { ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring.xml"); Ju...转载 2020-01-16 14:01:03 · 242 阅读 · 0 评论 -
Springboot JavaMailSender发送邮件(QQ和163)
引入maven依赖包<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency>application.properties(163邮箱)#####163邮箱######## spring.mail.hos原创 2017-10-12 16:48:26 · 1529 阅读 · 0 评论 -
使用IntelliJ IDEA搭建springmvc
创建Maven Web项目 这里需要填写GroupId和ArtifactId还有Version,这三个属性目的是标识你的项目的唯一性。这些只在发布时有用,在此可以随便填写,填好后点Next,到如下界面。 选择maven的版本 项目名和路径,填完之后finish就好了 maven会在后台生成web项目,这需要等待一定的时间,视网络环境而定,经验发现用较新版本的maven项目生原创 2018-01-19 00:34:25 · 2003 阅读 · 0 评论