본문 바로가기

Java/Spring with Error22

[해결 방법] Could not find javax.servlet:jstl 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 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 32 33 34 35 36 37 38 39 40 41 42 43 plugins { id 'java' id 'org.springframework.boot' version '3.1.4' id 'io.spring.dependency-management' version '1.1.3' } group = 'com.project' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '17' } configuration.. 2023. 10. 3.
[해결 방법] org.gradle.api.GradleScriptException 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 plugins { id 'java' } group = 'kr.co.project1' version = '1.0' repositories { mavenCentral() } dependencies { testImplementation platform('org.junit:junit-bom:5.9.1') testImplementation 'org.junit.jupiter:junit-jupiter' compile 'javax.servlet:servlet-api:2.5' compile 'org.spring.. 2023. 8. 27.
[해결 방법] java.lang.IllegalStateException 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 import com.querydsl.jpa.impl.JPAQueryFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; @Configuration public class QuerydslConfigur.. 2023. 8. 22.
[해결 방법] java.lang.ClassNotFoundException 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 import com.example.demo.dao.srt.SrtFcstInfoDAO; import com.example.demo.dao.srt.SrtFcstInfoRepository; import com.example.demo.dto.srt.RqstParams; import com.example.demo.entity.srt.UltraSrtFcst; import c.. 2023. 8. 21.
[해결 방법] org.springframework.web.client.HttpServerErrorException 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 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 32 33 34 35 36 37 38 39 40 41 42 43 44 package com.example.demo.controller; import com.example.demo.service.mid.MidFcstInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.sprin.. 2023. 8. 21.
[해결 방법] java.lang.IllegalArgumentException 👉 기본 환경 - Language: Java - DB: MySQL - IDE: IntelliJ ⌨️ 코드 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 32 33 34 35 36 37 38 39 import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.Res.. 2023. 8. 21.