본문 바로가기 메뉴 바로가기

JEONGLOG

프로필사진

JEONGLOG

JEONGLOG
검색하기 폼 Mountain View
  • 🔥 (51)
    • 🍎 iOS (5)
      • 🍏 Swift (4)
      • 😵 Xcode (1)
    • 📁 STUDY (28)
      • 📝 baekjoon (9)
      • 🌱 GitHub (4)
      • 🌐 React (5)
      • 💻 Node.js (1)
      • 🔘 Spring Boot (5)
    • 💡 THINKING (8)
      • 🔧 Bitnami (2)
      • 💿 Ubuntu (2)
      • 🦾 Machine Learning (3)
    • ❄️ Sookmyung (9)
      • 💾 Linux (7)
      • 📱 OS? Oh Yes! (2)
  • GUESTBOOK
  • TAG
  • RSS

SpringBoot
[SprintBoot] IntelliJ IDEA lombok 라이브러리 설치

롬복이란? 자바 개발할 때 자주 사용하는 코드 Getter, Setter, 기본생성자, toString 등을 어노테이션으로 자동 생성 implementation 'org.projectlombok:lombok' -> build.gradle에 위와 같은 코드 추가 -> gradle refresh 인텔리제이 2020.03 버전 이후에는 롬복 기본 라이브러리로 설치되어 있어 따로 설치할 필요는 없었다 - setting > build > compiler > annotation processer 에서 Enable annotation processing 체크 완료 +) 추가

📁 STUDY/🔘 Spring Boot 2022. 8. 28. 18:35
[SpringBoot] Gradle Could not find method compile() 에러 해결방법

build.gradle 파일에 compile('org.projectlombok:lombok') 위와 같은 코드를 추가하고 refresh 했는데 Could not find method compile() 에러 발생 compile, runtime, testCompile, testRuntime 명령어는 gradle 7.0 부터 삭제 삭제된 명령어를 사용해 오류가 난 것 위 명령어들은 implement, runtimeOnly, testImplementation, testRuntimeOnly로 변경되었다 implementation 'org.projectlombok:lombok' 그렇기에 compile 명령어를 implementation으로 변경해 주었다 해결 완 출처 : https://velog.io/@g0709-..

📁 STUDY/🔘 Spring Boot 2022. 8. 27. 21:50
[SpringBoot] java.lang.IllegalStateException: Found multiple @SpringBootConfiguration annotated classes 에러 해결방법

java.lang.IllegalStateException: Found multiple @SpringBootConfiguration annotated classes 에러 같은 패키지 안에 @SpringBootApplication 어노테이션이 중복으로 선언되어 발생하는 오류 나같은 경우는 자동으로 생성된 ExSpringboot2Application과 직접 생성한 HelloControlloer에 중복 선언되어 있었다 주석 처리를 해준다 해결 완료

📁 STUDY/🔘 Spring Boot 2022. 8. 26. 01:17
Spring Boot 실행 시 "Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured." 에러

인텔리제이에서 처음 스프링부트를 실행했을 때 요런 에러가 떴다. application.properties 파일에 밑과 같은 정보를 추가 spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/(DB스키마)?autoReconnect=true spring.datasource.username=(DB아이디) spring.datasource.password=(DB비밀번호) mysql일 경우 오류 해결

📁 STUDY/🔘 Spring Boot 2022. 8. 25. 16:48
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
TAG
  • 다중프로세스
  • Annotation
  • C
  • 알고리즘
  • 버퍼
  • SWiFT
  • 머신러닝
  • 설치
  • 9086번
  • 프로그래밍
  • 기계학습
  • 프로세스
  • Apache
  • Baekjoon
  • PHP
  • machine learning
  • error
  • react
  • 오류
  • C++
  • SpringBoot
  • MySQL
  • 백준
  • 파일 입출력
  • 리눅스
  • GIT
  • react-scripts
  • bitnami
  • Linux
  • Programming
more
Total
Today
Yesterday

Powered by Tistory / Designed by INJE

티스토리툴바