일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- DB Browser
- 타자 게임 만들기
- 노드에 리액트 추가하기
- Spring-Framework
- 인프런
- Concurrently
- 계산맞추기 게임
- Colaboratory 글자 깨짐
- props
- node.js로 로그인하기
- 거북이 대포 게임
- 자바스크립트
- intellij
- vs code 내 node
- 웹 게임을 만들며 배우는 리액트
- 리액트
- intllij 내 Bean을 찾지 못해서 발생하는 오류
- ReactDOM.render is no longer supported in React 18. Use createRoot instead
- react오류
- Do it 자바스크립트 + 제이쿼리 입문
- 모두의 파이썬
- googleColaboratory
- Python
- node.js 설치
- JS 개념
- spring-boot
- 따라하며 배우는 노드 리액트 기본 강의
- You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client"
- react
- 모던자바스크립트
- Today
- Total
프로그래밍 삽질 중
[스프링부트와 AWS로 혼자 구현하는 웹 서비스] 오류 1 본문
※ 책 보면서 스프링을 공부중인데 오류 발생한 코드들이 있어 작성
[p.96 PostRepositoryTest 관련 오류]
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration
-> 해결 https://unhosted.tistory.com/77
Spring boot test 경로가 다른 패키지 테스트 시 오류
어느 날 마주한 에러 문구 Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test java.lang.IllegalStateException: Unable to fi..
unhosted.tistory.com
[p.109 PostsApiControllerTest 관련 오류]
org.springframework.web.client.RestClientException: Error while extracting response for type [class java.lang.Long] and content type [application/json;charset=UTF8]; nested exception is org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.Long` out of START_OBJECT token
at [Source: (PushbackInputStream); line: 1, column: 1]
-> 참고 1 https://velog.io/@redcarrot01/TroubleShooting-springboot-Cannot-deserialize-instance-of-java.lang.Long-out-of-STARTOBJECT-token
-> 저자의 답변 : https://github.com/jojoldu/freelec-springboot2-webservice/issues/174
[실습문의] 110p.PostApiControllerTest 등록 테스트 · Issue #174 · jojoldu/freelec-springboot2-webservice
기존에 올라온 질문이 아닌지 먼저 검색해주세요! 어떤 오류인가요? 오류설명: 110p.PostApiControllerTest 등록 테스트 실패 문의입니다. 처음 오류를 확인 후 기존 이슈들에서 해결책을 주신 어노테이
github.com
-> 내 경우 : Application.java가 위치 오류(프로젝트 가장 처음에 배치해야 했음)
[p.116 h2연결]
h2 연결 시 접속 불가
해결책 : 인텔리제이 스프링부트 H2 DB 사용하기 (tistory.com)
인텔리제이 스프링부트 H2 DB 사용하기
로컬 환경에서 H2를 사용 application.properties에서 웹 콘솔 옵션 활성화 spring.h2.console.enabled=true spring.h2.console.path=/h2-console 추가 합니다. http://localhost:8080/h2-console 접속합니다...
deoks.tistory.com
-> testdb가 연결되지 않을 경우 주소창에 localhost:8080/h2-console을 치지 않고 접근했는지 확인할 것
'과거 프로그래밍 자료들 > 자바(Java)' 카테고리의 다른 글
W3School.com Java Quiz (0) | 2021.06.10 |
---|---|
session 이용한 jsp 책 리스트, 상세페이지 만들기 (0) | 2021.06.08 |
[유튜브 강의] 소프트 캠퍼스 SpringFramework 입문2 (0) | 2021.06.03 |
[유튜브 강의] 소프트 캠퍼스 SpringFramework 입문 (0) | 2021.05.24 |
Java로 계좌 관련 문제(입금, 출금, 송금 내용 포함) (0) | 2021.05.21 |