1.常见问题1
不兼容的类型: springfox.documentation.swagger.web.SecurityConfiguration无法转换为com.sun.org.apache.xerces.internal.parsers.SecurityConfiguration
包导入错
import com.sun.org.apache.xerces.internal.parsers.SecurityConfiguration;
import springfox.documentation.swagger.web.SecurityConfiguration;2.
org.springframework.boot spring-boot-starter-data-redis-reactive
Failed to parse configuration class [com.wwg.edu.gateway.WwgGatewayApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/cloud/gateway/filter/ratelimit/RedisRateLimiter.class] cannot be opened because it does not exist
class path resource [org/springframework/cloud/gateway/filter/ratelimit/RedisRateLimiter.class] cannot be opened because it does not exist
3.Exception in thread “restartedMain” java.lang.IllegalAccessException: Class org.springframework.boot.devtools.restart.RestartLauncher can not access a member of class com.wwg.edu.user.WwgEduUserApplication with modifiers “public static”
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
报错原因
启动类没加public修饰符。
解决方案
在启动类上加修饰符public。
class WwgEduUserApplication {
public class WwgEduUserApplication {



