일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- html input
- src/main/java
- Failed to configure a DataSource
- MySQL 테이블명 바꾸기
- HTML
- 정신차리고공부하자 #개발자되기 #몰입하자
- 스프링부트
- 자바마스터
- 비디오 태그 이미지
- 자바정렬
- 스프링부트 오류
- video tag
- html video thumbnail
- 자바
- sql 테이블명 바꾸기
- 스프링 jsp 연결
- 자바 #Java #Scanner #스캐너 #자바알파벳입력
- spring jsp
- 스프링부트 jsp 연결
- 스프링 jsp
- selection does not contain a main type
- 정수 자료형
- 순위정렬
- 비디오 태그 썸네일
- @PathVariable
- SpringBoot Mybatis
- 랭킹정렬
- jsp 연결
- 자바 순위정렬
- 스프링부트 마이바티스
- Today
- Total
목록자바 JAVA (46)
쌤리

메일 발송을 위해서 아래 두 가지 dependency 를 추가해야한다. org.springframework spring-context-support com.sun.mail javax.mail 1.6.2 spring-context-support spring-context-support provides support for integrating common third-party libraries into a Spring application context for caching (EhCache, Guava, JCache), mailing (JavaMail), scheduling (CommonJ, Quartz) and template engines (FreeMarker, JasperReports, Veloc..

스프링 부트에서 마이바티스를 사용하려면, spring starter project 를 생성시 아래 그림 처럼 MyBatis Framework 를 체크 하면 된다. 이 작업을 못했으면 pom.xml 에서 아래와 같이 dependency 를 추가 해준다. org.mybatis.spring.boot mybatis-spring-boot-starter 2.1.3 dao 를 interface 로 선언, @Mapper 어노테이션을 추가해준다 package com.sbs.sbl.mp.dao; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import com.sbs.sbl.mp.dto.Member; @Mapp..

위와 같이 오류 메시지가 나올 때 해결방법: 1. application.yml 파일에 아래와 같이 jdbc driver 관련 설정 추가 datasource: username: at driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/at?useUnicode=true&characterEncoding=utf8&autoReconnect=true&serverTimezone=Asia/Seoul&useOldAliasMetadataBehavior=true&zeroDateTimeNehavior=convertToNull 2. db 없이 우선 작업 할 경우 main 에다가 아래 @ 어노테이션을 넣주면 된다 @EnableAutoConfig..