ruoyi项目启动报错IllegalArgumentException: When allowCredentials is true allowedOrigins cannot contain ...

 背景: 在原有前后端分离项目中集成Ruoyi项目,当启动时报错如下:

详细报错信息:

[restartedMain] ERROR o.s.b.SpringApplication - [reportFailure,870] - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sysLoginController': Unsatisfied dependency expressed through field 'loginService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysLoginService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityConfig': Unsatisfied dependency expressed through field 'permitAllUrl'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permitAllUrlProperties' defined in file [xxxx\ruoyi-framework\target\classes\com\ruoyi\fram

你可能感兴趣的:(Ruoyi,vue,vue.js,ruoyi)