일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 문서
- spring
- Tomcat
- STS
- JavaScript
- JDBC
- SpringBoot
- Open Source
- Source
- jpa
- 오픈소스
- Spring Boot
- ubuntu
- maven
- git
- IntelliJ
- Core Java
- Docker
- 설정
- Eclipse
- Thymeleaf
- PostgreSQL
- oracle
- MSSQL
- Python
- MySQL
- Exception
- error
- myBatis
- AJAX
- Today
- Total
목록SWAGGER (4)
헤르메스 LIFE
개발환경Spring Boot 2.7.9H2 2.1.214p6spy 1.8.1slf4j 1.7.36lombokdevtoolspostgresql참고로Swagger 의 버전별 call URL이 다릅니다.2.x 버전 : http://localhost:9090/swagger-ui.html3.x 버전 : http://localhost:9090/swagger-ui/index.htmlSwagger2 2.9.2 버전 설정build.gradle // Default : 2.0.0.RELEASE //implementation 'org.springframework.plugin:spring-plugin-core' implementation 'org.springframework.pl..
요즘 JPA를 공부하고 있습니다. MyBatis 만 하다가, 개인적으로 공부를 진행하고 있습니다. 하다보니 막히고, 이해가 안되는 부분이 많네요. 그때마다 검색과 삽질로 해결하고 있습니다. 여기 그 삽질의 자취를 남겨봅니다. 개발환경 Spring Boot 2.7.9 H2 2.1.214 p6spy 1.8.1 slf4j 1.7.36 swagger2 2.6.1 lombok devtools postgresql INFO 23-03-24 23:26:689[restartedMain] springfox.documentation.spring.web.PropertySourcedRequestMappingHandlerMapping.initHandlerMethods[69]: - Mapped URL path [/v2/api-do..
개발환경 : Spring Boot 2.7.9 Database : H2-2.1.214 JDK : 11.0.18 x64 JPA Swagger 00:37:36.678 [Thread-0] DEBUG org.springframework.boot.devtools.restart.classloader.RestartClassLoader - Created RestartClassLoader org.springframework.boot.devtools.restart.classloader.RestartClassLoader@9b6e40 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_..
개발환경 Spring Boot Spring Security ... 제 프로젝트에 Swagger를 사용하기 위해 셋팅을 해 봤는데, http://localhost:8080/swagger-ui.html 접속이 안되고 있습니다. 원인은 Spring Security 가 접속을 막는 듯 보여집니다. 심규남님의 소스를 통해서 잘 되는 소스를 이용해서 제가 원하는 환경을 테스트 할 수 있었습니다. 1. @EnableWebMvc 와 WebMvcConfigurer 의 관계를 공부할 수 있었습니다. 2. @EnableSwagger2를 반드시 넣어줘야 합니다. 3. addResourceHandlers 함수를 Override 해줘야 합니다. @Configuration @EnableWebMvc // spring-security..