분류 전체보기 (6) 썸네일형 리스트형 [JPA] uncaught typeerror: cannot read properties of undefined (reading 'cd_v_meaning_type') 에러 특정 rfq_id 클릭시 특정 컬럼(cd_v_meaning_type)에 대한 오류가 발생 1. pgAdmin 들어가 null인지 지정한 타입과 다른지 확인 2. join한 테이블에 해당 데이터가 있는지 확인 po1 테이블에 rfq_no가 없는 경우 해당 페이지에서 오류가 났다. 3. native query 에서 JPA 쿼리로 변경 오류 메시지 : nulljava.lang.illegalargumentexception: cannot create typedquery for query with more than one return using requested result type [패키지명.vo.rfq.rfqinfovo] new DTO!!! (vo는 아님) 쿼리문의 select 부분을 select new DTO.. Feign 개념 - Netflix 에서 개발된 Http client binder - 사용하기 위해서는 interface 를 작성하고 annotation 을 선언하면 끝 - 로드밸런싱이랑 히스트릭스가 포함되어 있다. https://techblog.woowahan.com/2630/ 코드 Feign01 : 보내는 플젝 Feign02 : 받는 플젝 공통 pom.xml org.springframework.cloud spring-cloud-starter-openfeign 2.2.10.RELEASE Feign01Application @SpringBootApplication @EnableFeignClients public class Feign01Application { public static void main(String[] .. 설명 적자!!!!!!! [Java] 백준 1011번 : Fly me to the Alpha Centauri 내일 면접이라 자세한 설명은 나중에 적기 import java.util.Scanner; public class Q1011 { public static void main(String[] args) { //Fly me to the Alpha Centauri Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i = 0; i < n; i++){ int x = sc.nextInt(); int y = sc.nextInt(); int distance = y - x; int max = (int)Math.sqrt(distance); if(max == Math.sqrt(distance)){ System.out.println(max * 2 -1); } e.. [Java] 백준 1157 단어 공부 - A = 65, a = 97 import java.util.*; public class Q1157 { public static void main(String[] args) { int[] arr = new int[26]; //알파벳 개수 = 26 Scanner sc = new Scanner(System.in); String word = sc.nextLine(); word = word.toUpperCase(); //대문자로 변경 for(int i = 0 ; i max.. [Java] 백준 1152 문제 단어의 개수 문자열을 특정 문자를 기준으로 구분하는 문자열.split("구분자")사용 문자.isEmpty() : 빈 문자열을 찾아 개수 셈 import java.util.Scanner; public class Q1152 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String word = sc.nextLine(); String[] word2 = word.split(" "); int cnt = 0; for(int i = 0; i < word2.length; i++){ if(word2[i].isEmpty()) { cnt++; } } System.out.println(word2.length - cnt); } } [mysql] 실행시 could not acquire management access for administration 오류 어제 했던 프로젝트를 다시 수정하기 위해 mysql workbench를 작동 시키는 순간 could not acquire management access for administration RuntimeError: Unalbe to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable. 오류가 떴다. - cmd로 bitnami에 있는 mysql을 실행시켰더니 mysql은 잘 실행되지만 오류는 해결X - 관리자 권한으로 bench 실행 -> 해결X - 다른 mysql을 접속해서 들어갔다. 내 컴퓨터에는 mysql과 bitnami의 mysql 2개가 연결되어있.. 이전 1 다음