일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Python
- Eclipse
- STS
- IntelliJ
- ubuntu
- jpa
- Exception
- 오픈소스
- MySQL
- SpringBoot
- JDBC
- Docker
- Thymeleaf
- 문서
- Spring Boot
- error
- JavaScript
- Source
- PostgreSQL
- Tomcat
- oracle
- Open Source
- myBatis
- MSSQL
- AJAX
- Core Java
- spring
- 설정
- git
- maven
- Today
- Total
목록Rest (6)
헤르메스 LIFE
LOCAL_SAVE_URL 에서 오류가 발생하면 4xx번, 5xx번대 오류가 넘어옵니다. try { ResponseEntity response = restTemplate.postForEntity( LOCAL_SAVE_URL, entity, String.class ); logger.debug( "response :: {}", response ); logger.debug( "result :: {}", response.getStatusCodeValue() ); logger.debug( "result :: {}", response.getBody() ); //logger.debug( "result :: {}", (List) response.getBody().get( "list" ) ); } catch ( Http..
개발환경 Spring Boot 2.2.4 JDK 1.8.0_202 REST Postman : REST Client 목표 1. Spring Boot REST 환경 2. Log4j2 추가 3. JWT + Spring Security 를 통한 인증 4. DB 연결 ( Hibernate 제거 )을 통한 사용자 인증 5. TDD 인증 테스트 import org.junit.*; import org.junit.runner.*; import org.springframework.beans.factory.annotation.*; import org.springframework.boot.test.autoconfigure.web.servlet.*; import org.springframework.boot.test.contex..
개발환경 Spring Boot 2.2.4 JDK 1.8.0_202 REST Postman : REST Client 목표 1. Spring Boot REST 환경 2. Log4j2 추가 3. JWT + Spring Security 를 통한 인증 4. DB 연결 ( Hibernate 제거 )을 통한 사용자 인증 어쩌다 제가 원하는 프로젝트를 찾았습니다. 소스까지 오픈 해주셔서 제 입맛에 맞게 수정을 했습니다. 출처 : daddyprogrammer.org/post/636/springboot2-springsecurity-authentication-authorization/ SpringBoot2로 Rest api 만들기(8) – SpringSecurity 를 이용한 인증 및 권한부여 - 아빠프로그래머의 좌충 이번..
개발환경 Spring Boot 2.2.4 JDK 1.8.0_202 REST Postman : REST Client 목표 1. Spring Boot REST 환경 2. Log4j2 추가 기존 프로젝트( https://hermeslog.tistory.com/445?category=530345 )에 Logging 설정을 추가했습니다. 1. pom.xml 수정 4.0.0 org.example SpringBootSample 1.0-SNAPSHOT 8 8 org.springframework.boot spring-boot-starter-parent 2.2.4.RELEASE org.springframework.boot spring-boot-starter-web org.springframework.boot spring-..
Spring Boot JDK 1.8.x REST 를 공부하던 중 아래와 같은 오류가 발생되었습니다. Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported] 1. RequestMapping 설정 @RequestMapping(value = "/users", method = RequestMethod.POST) 2. PostMapping설정 @PostMapping(value = "/users") 3. 요청경로 오류 다른 경로를 지정하고 POST 로 전송하는 경우.
출처 : www.ciokorea.com/tags/25443/%EC%8A%A4%ED%94%84%EB%A7%81/36220 자바의 대안으로 주목되는 코틀린이 프레임워크의 형태로 좀 더 폭넓은 지지를 얻고 있다. 스프링 프레임워크와 Vert.x 같이 이미 자리를 잡은 툴도 지원 대열에 합류했다. JVM과 안드로이드 개발에서 자바 언어의 대안으로 떠오르고 있는 코틀린(Kotlin)이 여러 개발 프레임워크의 지원을 받으며 빅리그에 입성할 조짐을 보이고 있다. 예를 들어, 스프링 프레임워크도 이제 코틀린을 지원한다. 코틀린을 지원하는 자바린(Javalin), Ktor 같은 새로운 프레임워크도 있다. 피보탈의 스프링 프레임워크는 의존성 주입(Dependency Injection)을 특징으로 하는 믿을만한 자바 프레임..