i have some question :
-
Class H2Configuration.java ServletRegistrationBean class not found , the new package is org.springframework.boot.web.servlet.ServletRegistrationBean
-
Class SecurityConfiguraion.java in @Autowired parivate UserDetailsService userDetailsService import info : import org.springframework.security.core.userdetails.UserDetailsService; ? or com.rd.security.UserDetailsService
-
Class OAuth2Configuration.java
@Autowired
private CustomAuthenticationEntryPoint customAuthenticationEntryPoint;
@Autowired
private CustomLogoutSuccessHandler customLogoutSuccessHandler;
error tip : Could not autowired. No beans of CustomLogoutSuccessHandler type found.
Could not autowired. No beans of CustomAuthenticationEntryPoint type found.
i have some question :
Class
H2Configuration.javaServletRegistrationBean class not found , the new package isorg.springframework.boot.web.servlet.ServletRegistrationBeanClass
SecurityConfiguraion.javain@Autowired parivate UserDetailsService userDetailsServiceimport info :import org.springframework.security.core.userdetails.UserDetailsService;? orcom.rd.security.UserDetailsServiceClass
OAuth2Configuration.javaerror tip : Could not autowired. No beans of
CustomLogoutSuccessHandlertype found.Could not autowired. No beans of
CustomAuthenticationEntryPointtype found.