일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- apache gzip
- Eclipse
- android fragment
- release unsigned
- css
- error
- CSS사용법
- jQuery
- Kotlin
- JavaScript
- fragment
- Android Apk
- android error
- MySQL
- DataTable
- Android
- Android Apk 이름 변경
- Program type already present
- Firebase
- tomcat
- release Apk
- java error
- Android Apk 이름
- Exception
- 안드로이드
- spring
- html
- R프로그래밍
- FLUTTER
- Java
- Today
- Total
목록Server/Spring (19)
selfstarter
error message org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): mapper pakage Issue BaseMapper에 bean 등록을 하고 mapper를 통해서 쿼리문을 날려 원하는 값을 가져오는 예제를 실행시킴. 그런데 자꾸 Invalid bound statement 에러가 뜸 code @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = { com.base.server.comm.config.RootConfig.class }) public class selectTest { @Setter(onMethod\_ = @Autow..
@ControllerAdvice JavaConfig 예외 처리 - 예외상황을 예외 클래스를 만들어서 처리하면 예외 처리 중복 코드를 없앨 수 있다 - @ControllerAdvice는 오류를 처리하는 Controller임을 나타내는 어노테이션 - CommonExceptionAdvice class 생성 - @ ComponentScan 어노테이션으로 CommonExceptionAdvice class를 검색할 수 있도록 만든다 import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.ui.Model; import org.springframe..
Spring JavaConfig 다국어 처리 다국어 처리를 Client 단에서 하면 코드가 지저분해지고 유지보수도 어렵다 Spring에서 properties 파일을 이용하여 다국어 처리를 쉽게할 수 있도록 지원해준다 ContextMessageConfig 다국어 설정을 할 Config(MessageConfig.java)추가 setBasename는 메시지 properties가 있는 위치로 설정해준다 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.support.ReloadableResourceB..