Trouble Occurred
I initialized the database before implementing Google login. -> Unable to drop table user because of reference id.
Solution
Execute SET foreign_key_checks = 0; first, then drop.
Trouble Occurred
After dropping the table, user is not exist error occurs.
Solution
used the mysql insert into
Trouble Occurred
after sovled above errors css and js are not running.
Solution
@Bean
public WebSecurityCustomizer configure() {
return (web) -> web.ignoring().mvcMatchers(
"/resources/**", "/static/**", "/landing-assets/**", "/images/**"
, "/custom-scripts/**", "/custom-assets/**","/assets/**","/app-assets/**"
,"/templates/**", "/general/**","/api/v1/pri/**"
);
}
A problem caused by not properly setting the path. This opportunity made me feel the importance of route setting.