프로그래밍/spring18 sts4 설치 및 설정 sts 다운로드--> https://spring.io/tools -->Spring Tools 4 for Eclipse --> 각자 환경에 맞는 버전으로 설치하기 sts 설정!!! -- https://kjchoi.co.kr/17 참고 windows-preferences - java - installed JREs - add - JRE home : (자바설치폴더) - finish - 추가한 jdk 선택하고 apply windows-preferences - java - compiler - 11 선택 encoding 설정 windows-preferences - General - content types - text - default encoding - utf-8 update!! windows-preferences.. 2023. 4. 4. DBConfig.java package examples.spring.jdbc.jdbcexam.config; import javax.sql.DataSource; import org.apache.commons.dbcp2.BasicDataSource;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.jdbc.datasource.DataSourceTransactionManager;import org.springframework.transaction.PlatformTransactionManager;import org.springframework.. 2018. 9. 10. spring jdbc pom.xml org.springframeworkspring-jdbc${spring.version} org.springframeworkspring-tx${spring.version} org.mariadb.jdbcmariadb-java-client1.5.7 2018. 9. 10. jdbc private String driverClassName = "org.mariadb.jdbc.Driver";private String url = "jdbc:mariadb://localhost:3306/testdb?useUnicode=true&characterEncoding=utf8";private String username = "test";private String password = "test"; 2018. 9. 10. 이전 1 2 3 4 5 다음