https://spring.io/guides/tutorials/rest/*
https://zetcode.com/springboot/controlleradvice/
https://www.baeldung.com/spring-httpmessageconverter-rest
https://mkyong.com/spring-boot/spring-rest-error-handling-example/
https://dzone.com/articles/spring-boot-migration-from-15-to-205-release
https://github.com/jrcodeza/spring-openapi generator
https://swagger.io/blog/news/whats-new-in-openapi-3-0/
https://spring.io/blog/2018/03/16/micrometer-spring-boot-2-s-new-application-metrics-collector https://speakerdeck.com/michaelsimons/micrometer-new-insights-into-your-spring-boot-application?slide=11 /actuator/metrics
https://springdoc.org/migrating-from-springfox.html
https://www.javacodemonk.com/migrating-spring-boot-tests-from-junit-4-to-junit-5-00aa2839
http://localhost:8080/h2-console/ spring.h2.console.enabled=true
https://stackoverflow.com/questions/29587958/how-to-treat-controller-exception-with-mockmvc
https://www.baeldung.com/junit-5-migration https://www.baeldung.com/spring-webappconfiguration https://developer.okta.com/blog/2019/03/28/test-java-spring-boot-junit5
https://www.yawintutor.com/using-generated-security-password-spring-boot/ 1) spring.security.user.name = username spring.security.user.password = password 2) spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration SpringBootApplication(exclude = { SecurityAutoConfiguration.class }) public class SpringBootSecuritySimpleApplication { public static void main(String[] args) { SpringApplication.run(SpringBootSecuritySimpleApplication.class, args); } } 3) @Configuration public class SpringBootSecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
public void configure(AuthenticationManagerBuilder auth) throws Exception {
auth.inMemoryAuthentication()
.withUser("user").password("{noop}password").roles("USER");
}
}
https://github.com/intuit/karate
Caused by: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V at com.google.errorprone.BaseErrorProneJavaCompiler.setupMessageBundle(BaseErrorProneJavaCompiler.java:209)