티스토리 뷰
728x90
1. 한번 씩 The valid characters are defined in RFC 7230 and RFC 3986 이런 거 뜨면서 예외가 뜨는 경우가 있다.
1-1 개발을 하다가 중간에 생기면 링크를 걸 때 자바스크립트로 encodeURI 함수로 감싸 주면 되는데,
1-2 스프링 REST data를 쓰는 경우, 자동생성코드가 이런 오류가 나는 경우가 있다.
1-3 이런 경우는 아래 처럼 그냥 tomcat 대신에 jetty를 쓰는 게 편하다.
2. 변경하는 방법은 starter-tomcat을 쓰는 starter찾아서 아래 처럼 tomcat을 빼주고 jetty를 더하면 된다.
2-1 data-rest가 포함할 수도 있고, web이 포함할 수도 있으니 상황에 찾아서 잘 판단하면 된다.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
728x90
'Spring > Spring Boot' 카테고리의 다른 글
Spring Boot : CommandLineRunner (0) | 2020.07.10 |
---|---|
Spring Boot : WebJars 사용하기 (0) | 2020.07.07 |
Spring Boot : Security DaoAuthenticationProvider 사용시 @Transactional 처리 (0) | 2020.05.25 |
Spring Boot : RestTemplate + Thymeleaf with Java Config - CRUD 클라이언트 구현 (0) | 2020.05.24 |
Spring Boot : 기초지식 (0) | 2020.05.23 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
- 도커 개발환경 참고
- AWS ARN 구조
- Immuability에 관한 설명
- 자바스크립트 멀티 비동기 함수 호출 참고
- WSDL 참고
- SOAP 컨슈머 참고
- MySql dump 사용법
- AWS Lambda with Addon
- NFC 드라이버 linux 설치
- electron IPC
- mifare classic 강의
- go module 관련 상세한 정보
- C 메모리 찍어보기
- C++ Addon 마이그레이션
- JAX WS Header 관련 stackoverflow
- SOAP Custom Header 설정 참고
- SOAP Custom Header
- SOAP BindingProvider
- dispatcher 사용하여 설정
- vagrant kvm으로 사용하기
- git fork, pull request to the …
- vagrant libvirt bridge network
- python, js의 async, await의 차이
- go JSON struct 생성
- Netflix Kinesis 활용 분석
- docker credential problem
- private subnet에서 outbound IP 확…
- 안드로이드 coroutine
- kotlin with, apply, also 등
- 안드로이드 초기로딩이 안되는 경우
- navigation 데이터 보내기
- 레이스 컨디션 navController
- raylib
TAG
- Angular
- 매핑
- Validation
- 자바
- jsp
- login
- WebMvc
- 외부파일
- spring boot
- Many-To-Many
- 설정
- hibernate
- MYSQL
- RestTemplate
- Security
- 하이버네이트
- one-to-many
- one-to-one
- 스프링
- Rest
- XML
- Spring Security
- Spring
- 설정하기
- 상속
- 스프링부트
- crud
- form
- 로그인
- mapping
250x250