摘要:
问题描述:java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=…) w 阅读全文
摘要:
下载地址1、Github下载地址:https://github.com/MicrosoftArchive/redis/releases2、百度网盘下载地址 https://pan.baidu.com/s/1z1_OdNVbtgyEjiktqgB83g 密码:kdfq 安装过程1.首先先把下载的压缩包 阅读全文
摘要:
随着使用Spring进行开发的个人和企业越来越多,Spring从一个单一简洁的框架变成了一个大而全的开源软件,最直观的变化就是Spring需要引入的配置也越来越多。配置繁琐,容易出错,让人无比头疼,简化Spring配置简直可以说是民心所向。 Spring Boot是由Pivotal团队提供的一个基于 阅读全文
摘要:
1. pom.xml添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependenc 阅读全文
摘要:
IntelliJ Idea 解决 Could not autowire. No beans of ‘xxxx’ type found 的错误提示哈,在使用 @Autowired 时,今天又遇一坑,这俩波浪线是干啥子嘛: 然鹅,试了一下,控制台也不报错,可以正常运行, 数据也有: 于是,又再百度上找答 阅读全文