[Spring Boot] intelliJ - Plugin [id: 'org.springframework.boot', version: '2.6.4'] was not found in any of the following sources
2022. 3. 22. 13:21
개발/Spring
방화벽 때문에 gradle-wrapper.properties 내의 distributionUrl 을 못 가져오는 경우 build.gradle 수정 이전 plugins { id 'org.springframework.boot' version '2.6.4' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } 변경 buildscript { repositories { mavenLocal() maven { url 'https://maven.aliyun.com/repository/google/' } maven { url 'https://maven.aliyun.com/repository/public/' } maven { url 'https:..
[Spring Boot] Maven JPA / MariaDB 설정
2022. 3. 13. 13:21
개발/Spring
1. Dependency 추가 pom.xml org.springframework.boot spring-boot-starter-data-jpa org.mariadb.jdbc mariadb-java-client runtime 2. Datasource 설정 application.properties spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.datasource.url=jdbc:mariadb://IP주소:3306/DB명 spring.datasource.username=계정명 spring.datasource.password=계정비밀번호 3. JPA / 로깅 설정 application.properties # none: 아무것도 실행하지 않는..