java.lang.ClassNotFoundException: org.springframework.data.web.config.EnableSpringDataWebSupport
添加依赖(版本由parent中spring-data-releasetrain
定义)<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId></dependency>
java.lang.ClassNotFoundException: org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
添加依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId></dependency>
java.lang.ClassNotFoundException: java.lang.FunctionalInterface
JDK 8以下才会报这个问题
文/chaofeng(简书作者)
原文链接:http://www.jianshu.com/p/a3ed7b2f1e81
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
时间: 2024-10-17 13:10:31