| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 백준문제
- 무결성 제약조건
- for문
- 백준
- 자바
- 순환문
- 인터페이스
- while
- 백준문제풀이
- 오류모음
- 전화번호부
- jsp
- 티스토리 블로그
- 별 찍기
- 이클립스단축기
- 스프링
- MSI
- ORA-01407
- ORA-02292
- 환경설정
- 깃허브 블로그
- 파워서플라이
- spring
- Oracle
- 오류
- 공부
- 설정
- 이클립스
- 오라클
- Ajax
- Today
- Total
목록분류 전체보기 (76)
danDevlog
WARN : org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver - Resolved [org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 2 errors Field error in object 'criteria' on field 'amount': rejected value []; codes [typeMismatch.criteria.amount,typeMismatch.amount,typeMismatch.int,typeMismatch]; arguments [org.springframework...
HTTP 상태 500 – 내부 서버 오류 타입 예외 보고 메시지 Request processing failed; nested exception is java.lang.NullPointerException 설명 서버가, 해당 요청을 충족시키지 못하게 하는 예기치 않은 조건을 맞닥뜨렸습니다. 예외 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) org.spring..
이제 게시물의 글쓰기, 삭제, 수정을 할때 해당 로그인 작성자만이 해당 기능들을 수행할 수 있게 코드를 추가한다. servlet-context.xml 위의 코드를 추가한다. 해당 코드를 추가해야 시큐리티와 관련된 어노테이션을 사용할 수 있다. 추가로 위에 spring-security. ~~ .xsd 라고 버전이 적혀있을텐데 버전을 지워줘야 오류가 발생하지않는다. BoardController에 접근처리를 추가한다. @PostMapping("/register") @PreAuthorize("isAuthenticated()") public String register(BoardVO board, RedirectAttributes rttr) { log.info("등록" + board); service.registe..
이는 isAuthenticated를 isAunthen 이라고 오타를 발생하여 생긴 오류이다.
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) 해당 오류는 Spring Security의 회원 생성 테스트 과정에서 생긴 오류이다. security-context.xml 파일에서 manager태그 부분에 이 부분에서 ref를 ""로 했던것이 오류의 원인이였다. 암호화방식을 지정해주지 않았기때문에 오류가난것이다. bcrypt 방식으로하겟다고 채워주면 오류없이 실행된다.
Log4j2 라이브러리를 찾을수 없다 그말이다. Log4j2는 api와 core로 나누어져있다 Log4j-api와 Log4j-core 메이븐을 추가하면 해결된다. org.apache.logging.log4j log4j-api 2.0.1 org.apache.logging.log4j log4j-core 2.0.1