본문 바로가기
반응형

스프링부트5

[SPRINGBOOT] spring.mvc.pathmatch.matching-strategy [SPRINGBOOT 오류] 스프링부트 스웨거 오류org.springframework.context.ApplicationContextException: Failed to start be [오류] org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 원인 - 이 오류 메시지는 스프링 애플리케이션 시작 중에 docume sum-mit45.tistory.com 위의 이 오류를 해결하면서, spring.mvc.pathmatch.matching-strategy가 무엇인지에 대.. 2023. 11. 15.
[SPRINGBOOT 오류] 스프링부트 스웨거 오류org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 해결 방법 [오류] org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 원인 - 이 오류 메시지는 스프링 애플리케이션 시작 중에 documentationPluginsBootstrapper 을 시작할 때 NullPointerException이 발생했다는 것이다. - Spring Boot 2.6 버전이후에는 spring.mvc.pathmatch.matching-strategy 값이 ant_path_matcher에서 path_pattern_parser로 변경되면서 몇몇 라이브러리에.. 2023. 11. 14.
[SPRINGBOOT, SWAGGER] SpringBoot 2.7* 버전에 Swagger 3.* 버전 연결하기 [SPRINGBOOT] SpringBoot 2.7* 버전에 Swagger 3.* 버전 연결하기 - 사용한 SpringBoot 버전은 '2.7.18-SNAPSHOT' 1. build.gradle implementation 'io.springfox:springfox-boot-starter:3.0.0' - 스웨거 버전을 설정하여 설치해준다. - 2.X 버전과는 다르게, 하나의 종속성만 추가해 주어도 된다. 2. Swagger Config 파일 추가 @Configuration public class SwaggerConfig { private final String TITLE = "title"; private final String DESCRIPTION = "description"; private final St.. 2023. 11. 13.
[SPRING BOOT] AWS EC2, RDS, github actions, docker 사용해서 자동배포 하기 spring boot, aws ec2, rds, github actions, docker를 사용한 자동배포 AWS + Docker + Githbu Action을 사용한 서버 자동배포를 구축해 보았다. ⚙️ 개발환경 Docker AWS EC2 Amazon Linux2 Github Action Spring boot Java 11 Gradle 📌 전반적인 순서는 아래와 같다. AWS EC2 생성 인스턴스 생성하기 Elastic IP 만들고 연결하기 인스턴스 보안그룹 수정하기(:8080 포트 열어주기) AWS RDS 생성 DB 인스턴스 생성하기 RDS 포트 열어주기 Spring Boot spring.datasource 부분 변경하기 (url, username, password) EC2에서 도커 설치하기 AWS .. 2023. 9. 19.
반응형