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
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.java
ServletRegistrationBean class not found , the new package isorg.springframework.boot.web.servlet.ServletRegistrationBean
Class
SecurityConfiguraion.java
in@Autowired parivate UserDetailsService userDetailsService
import info :import org.springframework.security.core.userdetails.UserDetailsService;
? orcom.rd.security.UserDetailsService
Class
OAuth2Configuration.java
error tip : Could not autowired. No beans of
CustomLogoutSuccessHandler
type found. Could not autowired. No beans ofCustomAuthenticationEntryPoint
type found.