본문 바로가기

Java20

Consider defining a bean of type bean이 뭐지? 햇는데 ServiceImpl 에 @Service DAO에 @Mapper 를 import하지 않아서 일어났던 일.. import 신경쓰자 ~ 2023. 2. 27.
This application has no explicit mapping for /error, so you are seeing this as a fallback. mapping을 못찾겠다!! 왜 못찾는거지?? html > ctrl > service > dao > xml 순서로 코드가 연결되게 작성하는데, ctrl에서 service를 이어주지 않아서 생긴일. Autowired를 습관화 해보자😔 Memberctrl @Autowired MemberService memberService; 2023. 2. 27.
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 뭘까? 데이터베이스 연결안해서 그런거더라.. DB연결하면댐~! application.propert spring.datasource.driver-class-name=oracle.jdbc.OracleDriver spring.datasource.url=jdbc:oracle:thin:@localhost:1521/xe spring.datasource.username=hr spring.datasource.password=hr 2023. 2. 27.
부적합한-열-유형-1111 오늘 아주 이녀석과 씨름을 했다... 어찌어찌 잘 해결했고 나중에 또 만나면 빠르게 기억하기위해 포스팅을 남긴다! 도움받은 블로그 부적합한 열 유형 1111 - 코더에서 개발자로 가는길. (tistory.com) 부적합한 열 유형 1111 java 개발을 하다 보니 "부적합한 열 유형 1111" 오류를 만났다. 위와 같은 오류 메시지를 만나는 이유는 아래와 같다. 1. 넘어가는 데이터 타입이 다를 경우2. Map을 파라미터로 넘겼을 시에 해당 맵 koeiking11.tistory.com 자바 1달차 알못에게 큰 도움을 준 블로그 ... 처음보고 이게 뭐지 xml에 쿼리를 잘못쓴건가 머리만 벅벅거리고 있었는데, 이 포스팅을 보고 뭐가 문제인지 단박에 이해했다. 역시 모르면 구글링을 해보자 나의 경우는, 1.. 2023. 2. 24.