묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결it 취업을 위한 알고리즘 문제풀이 입문 (with C/C++) : 코딩테스트 대비
41번 질문있습니다!
강사님 강의 잘 듣고있습니다. 다름이 아니라 제가 생각해낸것은 1부터 n 까지의 합 공식을 이용해서 연속된 숫자들의 합을 계산해둔 것인데, 예를들어 4+5+6이면 1부터 6까지의 합공식 -> 6*7/2 = 21 에서 1부터 3까지의 합공식 -> 3*4 /2 = 6을 빼면 되는것 같아서 밑에처럼 짜봤습니다. #include<iostream> using namespace std; int main() { int n; cin >> n; int ans = 0; int k; for (int i = n-1; i >=1; i--) {// i를 역순으로 하면 개수가 작은놈부터 출력 i를 정순으로 하면 개수가 많은놈부터 출력 for (int j = 1; j < n - 1; j++) { if (i*(i + 1) - j * (j - 1) == 2 * n) { for (k = j; k < i; k++) { cout << k << "+"; } cout << i << " = " << n << endl; } } } return 0; } 근데 아무리 봐도 효율이 좋은것같지는 않네요.. 교수님 코드처럼 생각해내는게 중요한데 아직 거기까진 못간것같습니다.. 면접때 이런 질문이 나왔다고 하셨는데 제가쓴 방식대로 해도 괜찮은건가요? 처음 딱 봤을때 교수님 풀이를 생각해낼것 같지는 않아서 질문드립니다.. 이렇게 짜도 결과는 같게 나오는것 같습니다!
-
해결됨Vue.js 끝장내기 - 실무에 필요한 모든 것
Age of Vue.js 4까지 완강하고 질문!!
안녕하세요 캡틴판교님! 소중한 강의 Age of Vue.js 1부터 4까지 (웹팩포함) 완강을 했습니다! 좋은 내용을 꼼꼼하고 이해하기 쉽게 설명해주셔서 정말정말 감사드려요ㅠㅠ 강의를 끝낸 지금, 이제는 Vue.js를 가지고 개인 프로젝트를 진행하려고 합니다! 적당한 개인 프로젝트로 생각했더니 youtube에서 고민상담소에서 얼핏들었던 내용으론 본인에게 필요한 서비스를 구현해보는 것도 좋다고 하셔서 아이디어가 떠올라 만들기로 했습니다! 많은 기능이 들어간 건 더더욱 아니고 제가 필요로한 기능 1,2가지(의 CRUD)에다가 친구들도 같이 사용할 수 있게 회원기능까지 해서 배포할 생각입니다. (질문1) 이제 시작하려는데 제가 vue2와 vue3 중에 무엇을 선택해야하는 지 의문이 들어서 주저하는 상황이 되었습니다. 여러 라이브러리를 사용하지 않는 것 같아서 vue3를 사용해도 괜찮을까 하는 고민이 듭니다. 지금까지 생각한 프로젝트에 사용할 라이브러리는 axios, mongodb 정도입니다. 캡틴판교님이 보시기에 어떤 선택을 하는 것이 좋을까요? (질문2) 또 다른 질문이지만 추가적으로 버튼이나 화면을 디자인하는 과정이 저에게 쉽지않아서 이전에 프로젝트할 때는 bootstrap 이용했었는데, 혹시 추천, 참고해주실 내용(또는 홈페이지)이 있을까요??
-
미해결스프링 핵심 원리 - 기본편
@RequiredArgsConstructor , @Primary 질문있습니다
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]안녕하세요 영한님 항상 좋은강의 감사합니다 다름이아니라 질문이있는데 @Component를 FixDisCountPolicy와 RateDisCountPolicy 둘다 주어졌을때 오류가 발생하는데 이때 OrderServiceImpl에는 @RequiredArgsConstructor를 붙이고 DiscountPolicy중 우선순위를 가질것에 @Primary를 붙이는 즉@RequiredArgsConstructor,@Primary 두가지만 사용하면 코드의 수정없이 가장 효율적이라고 생각되는데 제 생각이 맞는지 궁금합니다
-
미해결웹 개발자와 정보보안 입문자가 꼭 알아야 할 웹 해킹 & 시큐어 코딩
테스트환경 로그인 문제
안녕하세요 강의 이번에 듣게되었습니다! 혹시 회원가입은 정상적으로 작동하는데 로그인 부분에서 어떻게 해야하는지 알수 있을까요? 맞게 회원가입을 했는데 로그인하는부분에서 틀렸다고 하는데 어떻게 해결해야 될까요?..
-
미해결지구에서 제일 쉽게 설명한 자료구조와 알고리즘
merge sort관련질문
뭔가 알거 같으면서도 헷갈려서 질문 남깁니다. 1. 회귀로 계속 해서 쪼개다가 하나씩 다시 합치는 것 같은데 38 / 27 43 으로 쪼개 지고 다시 27과 43으로 쪼개진 뒤 둘이 합쳐지고 38과 합쳐지는 것 같은 데 이때 합텨진 27과 43은 ringt, 38은 left가 되는 건가요? 2.k+=1의 의미가 궁금합니다. while i<left(len) and j<ringt(len): if left[i]<right[j]: list[k]=left[i] i+=1 else: list[k]=right[j] j+=1 k+=1 의 k+=1의 의미가 궁금합니다.
-
미해결Vue.js + TypeScript 완벽 가이드
ts관련하여 vs code 설정을 알고 싶습니다.
eslint가 vue파일에서 ts대상으로 작동하지 않습니다. 아래처럼 todoItems의 타입을 Todo[] 라고 하였지만 data() { return { todoText: "", todoItems: [] as Todo[], }; }, 아래 코드에서 this.todoITems에 마우스를 올리면 any라고 나타나는데 VS코드에서 무엇을 설정해야 하는지 알고 싶습니다. fetchTodoItems() { this.todoItems = ''; this.todoItems = storage.fetch().sort((a: Todo, b: Todo) => { if (a.title < b.title) { return -1; } if (a.title > b.title) { return 1; } return 0; }); },
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
안녕하세요 for과 in의 의미가 궁금해서 질문드립니다.
안녕하세요 . 수업을 매번 잘듣고 있으며 몇가지 구문에 호기심이 생겨 질문 드립니다, 1.for에 train_index,test_index in kfold.split 의 의미가 train과test각각 for의 루프안에서 동시에 실행되고 있다고 생각하면 되나요?(generator 의미는 제가 한번 찾아보겠습니다!) for에 변수가 2개가있는 모습을 처음보았습니다. 2.np.round의 의미는 무엇인가요?
-
해결됨더 자바, 코드를 조작하는 다양한 방법
JVM관련해서 질문이 있습니다.
안녕하세요 선생님. 제가 이해 했는 부분이 정확한지 여쭤보고 싶어 질문드립니다. 1. 로딩을 하는 과정에서 '클래스 로더가 .class 파일을 읽고 그 내용에 따라 적절한 바이너리 데이터를 만들고 “메소드” 영역에 저장'이 되는게 맞을까요 ? 로딩이 끝나면 해당 클래스 타입의 클래스 객체를 생성해서 힙영역에 저장 되는거구요. 2. Resolve는 .class 파일에서 필요한 자바 API의 이름만 지칭한것을 메모리상에서 실제로 존재하는 물리적인 주소로 대체되는 작업이라고 보면 될까요? 3. 로딩 > 링크 > 초기화 순이면 로딩과정에서 먼저 메소드영역에 데이터를 저장 한다음 링크에서 .class 파일을 검증(Verify)를 하는건가요 ? 4. '클래스 로더가 .class 파일을 읽고 그 내용에 따라 적절한 바이너리 데이터를 만들고 “메소드” 영역에 저장.' 이때 바이너리 데이터를 만들때는 인터프리터를 이용하는걸까요?
-
해결됨[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
안녕하세요 .. ?
안녕하세요 .. ? 지금 faster_rcnn을 공부하고 있습니다. 제가 공모전을 참여하게 되어서, 공모전의 주제가 Segementation에 대한 것이여서 혹시 yolo와 ssd 등등 이 강의를 건너 뛰고 mask rcnn에 강의를 듣는데 무리가 없을까요 .. ?
-
해결됨Skill-Up! 배워서 바로 쓰는 웹쉘 제작
질문 있어요! 제발 해결해주세요
이 소스로 실행 해보면 Name,Type,Date,Action 부분 태이블에 아무것도 안 떠요 __________소스___________ <? header("Content-Type: text/html; charset=UTF-8"); $mode = $_REQUEST["mode"]; $path = $_REQUEST["path"]; $page = basename($_SERVER["PHP_SELF"]); if(empty($path)){ $tempFileName = basename(__FILE__); $tempPath = realpath(__FILE__); $path = str_replace($tempFileName, "", $tempPath); $path = str_replace("\\", "/", $path); } else { $path = realpath($path)."/"; $path = str_replace("\\", "/", $path); } # Dir list retuurn function function getDirList($getPath) { $listArr = array(); $handler = opendir($getPath); while($file = readdir($handler)) { if(is_dir($getPath.$file) == "1") { $listArr[] = $file; } } closedir($handler); return $listArr; } #File List return function function getFileList($getPath) { $listArr = array(); $handler = opendir($getPath); while($file = readdir($handler)) { if(is_dir($getPath.$file) != "1") { $listArr[] = $file; } } closedir($handler); return $listArr; } ?> <!DOCTYPE html> <html lang="ko"> <head> <title>Space_Pig; webshell</title> <!-- 합쳐지고 최소화된 최신 CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- 부가적인 테마 --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <!-- 합쳐지고 최소화된 최신 자바스크립트 --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> </head> <body> <div class="container-fluid"> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6"> <h3>Webshell <small>Create by space_pig;</small></h3> <hr> <ul class="nav nav-tabs"> <li role="presentation" <?if(empty($mode) || $mode == "fileBrowser") echo "class=\"active\"";?>><a href="<?=$page?>?mode=fileBrowser">File Browser</a></li> <li role="presentation" <?if($mode == "fileUpload") echo "class=\"active\"";?>><a href="<?=$page?>?mode=fileupload">File upload</a></li> <li role="presentation" <?if($mode == "command") echo "class=\"active\"";?>><a href="<?=$page?>?mode=command">Command Execustion</a></li> <li role="presentation" <?if($mode == "db") echo "class=\"active\"";?>><a href="<?=$page?>?mode=db">DB connector</a></li> <li role="presentation"><a href="<?=$page?>?mode=logout">Logout</a></li> </ul> <br> <? if(empty($mode) || $mode == "fileBrowser") { ?> <form action="<?=$page?>?mode=fileBrowser" metho="GET"> <div class="input-group"> <span class="input-group-addon">Current Path</span> <input type="text" class="form-control" placeholder="Path Input..." name="path" value="<?=$path?>"> <span class="input-group-btn"> <button class="btn btn-default" type="submit">Move</button> </span> </div> </form> <hr> <div class="table-responsive"> <table class="table table-bordered table-hover"style="table-layout: fixed; word-break: break-all;"> <thead> <tr class="active"> <th style="width: 50%" class="text-center">Name</th> <th style="width: 14%" class="text-center">Type</th> <th style="width: 18%" class="text-center">Date</th> <th style="width: 18%" class="text-center">Action</th> </tr> </thead> <tbody> <? $dirList = getDirList($path); for($i=0; $i<count($dirList); $i++) { if($dirList[$i] != ".") { $dirDate = date("Y-m-d H:i", filetime($path.$dirList[$i])) ?> <tr> <td style="vertical-align: middle"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>%nbsp;%nbsp;<?=$dirList[$i]?></td> <td style="vertical-align: middle" class="text-center"><kbd>Directory</kbd></td> <td style="vertical-align: middle" class="text-center"><?=$dirDate?></td> <td style="vertical-align: middle" class="text-center"> <? if($dirList[$i] != "..") { ?> <div class="btn-group btn-group-sm" role="group" aria-label=""> <button type="button" class="btn btn-danger" title="File Delete"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button> </div> <? } ?> </td> </tr> <? } } ?> <? $fileList = getFileList($path); for($i=0; $i<count($fileList); $i++); { $fileDate = date("Y-m-d H:i", filemtime($path.$dirList[$i])); ?> <tr> <td style="vertical-align: middle"><span class="glyphicon glyphicon-file" aria-hidden="true"></span> <?=$fileList[$i]?></td> <td style="vertical-align: middle" class="text-center"><kbd>File</kbd></td> <td style="vertical-align: middle" class="text-center"><?=$fileDate?></td> <td style="vertical-align: middle" class="text-center"> <div class="btn-group btn-group-sm" role="group" aria-label=""> <button type="button" class="btn btn-info" title="File Download"><span class="glyphicon glyphicon-save" aria-hidden="true"></span></button> <button type="button" class="btn btn-warning" title="File Modify"><span class="glyphicon glyphicon-wrench" aria-hidden="true"></span></button> <button type="button" class="btn btn-danger" title="File Delete"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></button> </div> </td> </tr> <? } ?> </tbody> </table> </div> <? }?> <hr> <p class="text-muted text-center">Copyrightⓒ 2021, Space_pig, ALL rights reserved.</p> </div> <div class="col-md-3"></div> </div> </div> </body> </html>
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
안녕하세요
안녕하세요. 강의 잘 듣고 있습니다. 다름이 아니라, 상품을 등록하고 상품 목록에서 새로운 상품을 등록한 것을 새롭게 갱신 해야되는데 갱신이 안돼서 질문드립니다. log를 통해서 form을 찍었는데도 데이터가 저장되지 않습니다. 굉장히 기본적인거에서 틀린거 같은데 잘 안보이네요.. 일단 첫번째 사진은 갱신이 되지 않고 계속 저렇게 목록이 뜹니다. C:\Users\조원형\.jdks\openjdk-16.0.1\bin\java.exe "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.2\lib\idea_rt.jar=62082:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.2\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\조원형\study\jpashop\out\production\classes;C:\Users\조원형\study\jpashop\out\production\resources;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-data-jpa\2.5.4\61bdc9ccd2dd88dc956d85b4a608ef624476db7d\spring-boot-starter-data-jpa-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-thymeleaf\2.5.4\cade32e2891268e53f710d2e95671dff03de23b5\spring-boot-starter-thymeleaf-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-web\2.5.4\2bef2cedf2e0d1038ab51a2c6154579c5945e60c\spring-boot-starter-web-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-devtools\2.5.4\106fbf3e6e7265efbcc3942c2d65f0ce1abf3889\spring-boot-devtools-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-validation\2.5.4\8acfe1b2d2a111e278ee92f10d809dd1e63a7381\spring-boot-starter-validation-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.github.gavlyukovskiy\p6spy-spring-boot-starter\1.5.6\495579c7fb01b005f19ec4d5188245c66de0937b\p6spy-spring-boot-starter-1.5.6.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\junit\junit\4.13.1\cdd00374f1fee76b11e2a9d127405aa3f6be5b6a\junit-4.13.1.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-aop\2.5.4\6a158adb640effb8153c7531f5ceb69f8fe2d025\spring-boot-starter-aop-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-jdbc\2.5.4\ce13933bc6b2ce6789288407c9244a104c9af6ed\spring-boot-starter-jdbc-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\jakarta.transaction\jakarta.transaction-api\1.3.3\c4179d48720a1e87202115fbed6089bdc4195405\jakarta.transaction-api-1.3.3.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\jakarta.persistence\jakarta.persistence-api\2.2.3\8f6ea5daedc614f07a3654a455660145286f024e\jakarta.persistence-api-2.2.3.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.hibernate\hibernate-core\5.4.32.Final\99a5e10bf455337014c190e141ec631e9ff71663\hibernate-core-5.4.32.Final.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.data\spring-data-jpa\2.5.4\91fb0dcb66a316bb65e9b837757f105c4bf1359d\spring-data-jpa-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-aspects\5.3.9\ee2c3f8f99e1f115f502a7e47e632b1ed229e766\spring-aspects-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter\2.5.4\d5028e89214b204e39e5920ae118d69293ac3d8a\spring-boot-starter-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.thymeleaf\thymeleaf-spring5\3.0.12.RELEASE\aa640b214411978a23cbe271c3fb9569d1bda608\thymeleaf-spring5-3.0.12.RELEASE.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.thymeleaf.extras\thymeleaf-extras-java8time\3.0.4.RELEASE\36e7175ddce36c486fff4578b5af7bb32f54f5df\thymeleaf-extras-java8time-3.0.4.RELEASE.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-json\2.5.4\6bf89f94c5d2455689d8649a3ead440d05e0c8f7\spring-boot-starter-json-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-tomcat\2.5.4\57c1254fe8630619f17ff0ed37d4ffdfd0528c20\spring-boot-starter-tomcat-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-webmvc\5.3.9\c3cd1f0bba2658995e887d2f0011ab9bd3da1773\spring-webmvc-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-web\5.3.9\88c920ec1bda67fea04daa8e16165777440df473\spring-web-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-autoconfigure\2.5.4\3fe555faa956fa8b63b0d0115bb0ed55e4509b5e\spring-boot-autoconfigure-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot\2.5.4\b8d09303fa30f5102f33bcf2fa64b66be8fa39ba\spring-boot-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-el\9.0.52\ee51a2bab9b9c055f857fef0926116e8f459e8cc\tomcat-embed-el-9.0.52.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.hibernate.validator\hibernate-validator\6.2.0.Final\d6b0760dfffbf379cedd02f715ff4c9a2e215921\hibernate-validator-6.2.0.Final.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.github.gavlyukovskiy\datasource-decorator-spring-boot-autoconfigure\1.5.6\cac386fe9df77870133594f054ee32e5d08ab93d\datasource-decorator-spring-boot-autoconfigure-1.5.6.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\p6spy\p6spy\3.8.2\52299d9a1ec2bc2fb8b1a21cc12dfc1a7c033caf\p6spy-3.8.2.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest-core\2.2\3f2bd07716a31c395e2837254f37f21f0f0ab24b\hamcrest-core-2.2.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-aop\5.3.9\9bcad31a74e60d205500dd67d2220bd0195c63f8\spring-aop-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.aspectj\aspectjweaver\1.9.7\158f5c255cd3e4408e795b79f7c3fbae9b53b7ca\aspectjweaver-1.9.7.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.zaxxer\HikariCP\4.0.3\107cbdf0db6780a065f895ae9d8fbf3bb0e1c21f\HikariCP-4.0.3.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-jdbc\5.3.9\18efdbd53c154a08e1854a6cff29c2becea04025\spring-jdbc-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.hibernate.common\hibernate-commons-annotations\5.1.2.Final\e59ffdbc6ad09eeb33507b39ffcf287679a498c8\hibernate-commons-annotations-5.1.2.Final.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.jboss.logging\jboss-logging\3.4.2.Final\e517b8a93dd9962ed5481345e4d262fdd47c4217\jboss-logging-3.4.2.Final.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.javassist\javassist\3.27.0-GA\f63e6aa899e15eca8fdaa402a79af4c417252213\javassist-3.27.0-GA.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\net.bytebuddy\byte-buddy\1.10.22\ef45d7e2cd1c600d279704f492ed5ce2ceb6cdb5\byte-buddy-1.10.22.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\antlr\antlr\2.7.7\83cd2cd674a217ade95a4bb83a8a14f351f48bd0\antlr-2.7.7.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.jboss\jandex\2.2.3.Final\d3865101f0666b63586683bd811d754517f331ab\jandex-2.2.3.Final.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml\classmate\1.5.1\3fe0bed568c62df5e89f4f174c101eab25345b6c\classmate-1.5.1.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.dom4j\dom4j\2.1.3\a75914155a9f5808963170ec20653668a2ffd2fd\dom4j-2.1.3.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.glassfish.jaxb\jaxb-runtime\2.3.5\a169a961a2bb9ac69517ec1005e451becf5cdfab\jaxb-runtime-2.3.5.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-context\5.3.9\887f4579ade4f47cf0102856f4f4c88eda8ec9d7\spring-context-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-orm\5.3.9\db37587efd6525283b53c7adc8989095e9eabc27\spring-orm-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.data\spring-data-commons\2.5.4\7e5f9c80ff9a38ee0aaba645600acfe7de1a9803\spring-data-commons-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-tx\5.3.9\a7057cf30368d014a1c8e5880a128703c890ec79\spring-tx-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-beans\5.3.9\48600db2cb1abc0f7ef2b073f0c1abd78a83bcfc\spring-beans-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-core\5.3.9\cfef19d1dfa41d56f8de66238dc015334997d573\spring-core-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-api\1.7.32\cdcff33940d9f2de763bc41ea05a0be5941176c3\slf4j-api-1.7.32.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-logging\2.5.4\bef5da8f5610ca83dcefead706d66be09b9ef55d\spring-boot-starter-logging-2.5.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\jakarta.annotation\jakarta.annotation-api\1.3.5\59eb84ee0d616332ff44aba065f3888cf002cd2d\jakarta.annotation-api-1.3.5.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.yaml\snakeyaml\1.28\7cae037c3014350c923776548e71c9feb7a69259\snakeyaml-1.28.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.thymeleaf\thymeleaf\3.0.12.RELEASE\de1865b0d58590a50c33900115a293335dd8ef25\thymeleaf-3.0.12.RELEASE.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.datatype\jackson-datatype-jdk8\2.12.4\858a1e1b677cbafd3b100d5154f491a7051401c\jackson-datatype-jdk8-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.datatype\jackson-datatype-jsr310\2.12.4\b1174c05d4ded121a7eaeed3f148709f9585b981\jackson-datatype-jsr310-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.module\jackson-module-parameter-names\2.12.4\87c4e9a3302f0fafe4e5587f9c27d22847d8fe00\jackson-module-parameter-names-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.12.4\69206e02e6a696034f06a59d3ddbfbba5a4cd81\jackson-databind-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-websocket\9.0.52\557c15720af6f8d59a8308ce290f4408b5325194\tomcat-embed-websocket-9.0.52.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-core\9.0.52\501d876042f7bff64ee42cf1849e4abea272632\tomcat-embed-core-9.0.52.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-expression\5.3.9\f5ca763cfb9d62d196efd5d25e8daca7d555ed75\spring-expression-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\jakarta.validation\jakarta.validation-api\2.0.2\5eacc6522521f7eacb081f95cee1e231648461e7\jakarta.validation-api-2.0.2.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.hamcrest\hamcrest\2.2\1820c0968dba3a11a1b30669bb1f01978a91dedc\hamcrest-2.2.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\jakarta.xml.bind\jakarta.xml.bind-api\2.3.3\48e3b9cfc10752fba3521d6511f4165bea951801\jakarta.xml.bind-api-2.3.3.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.glassfish.jaxb\txw2\2.3.5\ec8930fa62e7b1758b1664d135f50c7abe86a4a3\txw2-2.3.5.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.sun.istack\istack-commons-runtime\3.0.12\cbbe1a62b0cc6c85972e99d52aaee350153dc530\istack-commons-runtime-3.0.12.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.springframework\spring-jcl\5.3.9\622eb12c98768b6d3acc71ce06bac8b332607a10\spring-jcl-5.3.9.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\ch.qos.logback\logback-classic\1.2.5\30e0c3932f24fb10e7851dd308a3ad14e570d60\logback-classic-1.2.5.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-to-slf4j\2.14.1\ce8a86a3f50a4304749828ce68e7478cafbc8039\log4j-to-slf4j-2.14.1.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.slf4j\jul-to-slf4j\1.7.32\8a055c04ab44e8e8326901cadf89080721348bdb\jul-to-slf4j-1.7.32.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.attoparser\attoparser\2.0.5.RELEASE\a93ad36df9560de3a5312c1d14f69d938099fa64\attoparser-2.0.5.RELEASE.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.unbescape\unbescape\1.1.6.RELEASE\7b90360afb2b860e09e8347112800d12c12b2a13\unbescape-1.1.6.RELEASE.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.12.4\6a1bd259b6c4e3f9219ec8ec0be55ed11eed0c\jackson-core-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.12.4\752cf9a2562ac2c012e48057e3a4c17dad66c66e\jackson-annotations-2.12.4.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\ch.qos.logback\logback-core\1.2.5\3e149d9c476be313030faf12d76a82c8a0e97f04\logback-core-1.2.5.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.14.1\cd8858fbbde69f46bce8db1152c18a43328aae78\log4j-api-2.14.1.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.h2database\h2\1.4.200\f7533fe7cb8e99c87a43d325a77b4b678ad9031a\h2-1.4.200.jar;C:\Users\조원형\.gradle\caches\modules-2\files-2.1\com.sun.activation\jakarta.activation\1.2.2\74548703f9851017ce2f556066659438019e7eb5\jakarta.activation-1.2.2.jar jpabook.jpashop.JpashopApplication . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.5.4) 2021-09-03 16:27:50.547 INFO 19308 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Starting JpashopApplication using Java 16.0.1 on DESKTOP-6TCCPCI with PID 19308 (C:\Users\조원형\study\jpashop\out\production\classes started by 조원형 in C:\Users\조원형\study\jpashop) 2021-09-03 16:27:50.552 INFO 19308 --- [ restartedMain] jpabook.jpashop.JpashopApplication : No active profile set, falling back to default profiles: default 2021-09-03 16:27:50.640 INFO 19308 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2021-09-03 16:27:50.641 INFO 19308 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2021-09-03 16:27:52.238 INFO 19308 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2021-09-03 16:27:52.311 INFO 19308 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 0 JPA repository interfaces. 2021-09-03 16:27:53.657 INFO 19308 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-09-03 16:27:53.680 INFO 19308 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-09-03 16:27:53.681 INFO 19308 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.52] 2021-09-03 16:27:53.826 INFO 19308 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-09-03 16:27:53.826 INFO 19308 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3183 ms 2021-09-03 16:27:54.153 INFO 19308 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2021-09-03 16:27:54.280 INFO 19308 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2021-09-03 16:27:54.299 INFO 19308 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:tcp://localhost/~/jpashop' 2021-09-03 16:27:54.676 INFO 19308 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2021-09-03 16:27:54.827 INFO 19308 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.32.Final 2021-09-03 16:27:55.075 INFO 19308 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2021-09-03 16:27:55.311 INFO 19308 --- [ restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2021-09-03 16:27:56.237 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists category CASCADE 2021-09-03 16:27:56.241 INFO 19308 --- [ restartedMain] p6spy : #1630654076240 | took 1ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category CASCADE drop table if exists category CASCADE ; 2021-09-03 16:27:56.241 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists category_item CASCADE 2021-09-03 16:27:56.242 INFO 19308 --- [ restartedMain] p6spy : #1630654076242 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category_item CASCADE drop table if exists category_item CASCADE ; 2021-09-03 16:27:56.242 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists delivery CASCADE 2021-09-03 16:27:56.243 INFO 19308 --- [ restartedMain] p6spy : #1630654076243 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists delivery CASCADE drop table if exists delivery CASCADE ; 2021-09-03 16:27:56.243 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists item CASCADE 2021-09-03 16:27:56.244 INFO 19308 --- [ restartedMain] p6spy : #1630654076244 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists item CASCADE drop table if exists item CASCADE ; 2021-09-03 16:27:56.244 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists member CASCADE 2021-09-03 16:27:56.245 INFO 19308 --- [ restartedMain] p6spy : #1630654076245 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists member CASCADE drop table if exists member CASCADE ; 2021-09-03 16:27:56.245 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists order_item CASCADE 2021-09-03 16:27:56.246 INFO 19308 --- [ restartedMain] p6spy : #1630654076246 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists order_item CASCADE drop table if exists order_item CASCADE ; 2021-09-03 16:27:56.246 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop table if exists orders CASCADE 2021-09-03 16:27:56.247 INFO 19308 --- [ restartedMain] p6spy : #1630654076247 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists orders CASCADE drop table if exists orders CASCADE ; 2021-09-03 16:27:56.247 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2021-09-03 16:27:56.248 INFO 19308 --- [ restartedMain] p6spy : #1630654076248 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop sequence if exists hibernate_sequence drop sequence if exists hibernate_sequence; 2021-09-03 16:27:56.251 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 1 2021-09-03 16:27:56.253 INFO 19308 --- [ restartedMain] p6spy : #1630654076253 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create sequence hibernate_sequence start with 1 increment by 1 create sequence hibernate_sequence start with 1 increment by 1; 2021-09-03 16:27:56.254 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table category (category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id)) 2021-09-03 16:27:56.255 INFO 19308 --- [ restartedMain] p6spy : #1630654076255 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category (category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id)) create table category (category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id)); 2021-09-03 16:27:56.256 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table category_item (category_id bigint not null, item_id bigint not null) 2021-09-03 16:27:56.257 INFO 19308 --- [ restartedMain] p6spy : #1630654076257 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category_item (category_id bigint not null, item_id bigint not null) create table category_item (category_id bigint not null, item_id bigint not null); 2021-09-03 16:27:56.257 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table delivery (delivery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delivery_id)) 2021-09-03 16:27:56.258 INFO 19308 --- [ restartedMain] p6spy : #1630654076258 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table delivery (delivery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delivery_id)) create table delivery (delivery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delivery_id)); 2021-09-03 16:27:56.258 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table item (dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id)) 2021-09-03 16:27:56.259 INFO 19308 --- [ restartedMain] p6spy : #1630654076259 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table item (dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id)) create table item (dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id)); 2021-09-03 16:27:56.259 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table member (member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id)) 2021-09-03 16:27:56.260 INFO 19308 --- [ restartedMain] p6spy : #1630654076260 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table member (member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id)) create table member (member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id)); 2021-09-03 16:27:56.261 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table order_item (order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id)) 2021-09-03 16:27:56.262 INFO 19308 --- [ restartedMain] p6spy : #1630654076262 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table order_item (order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id)) create table order_item (order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id)); 2021-09-03 16:27:56.263 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : create table orders (order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id)) 2021-09-03 16:27:56.264 INFO 19308 --- [ restartedMain] p6spy : #1630654076264 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table orders (order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id)) create table orders (order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id)); 2021-09-03 16:27:56.265 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category 2021-09-03 16:27:56.266 INFO 19308 --- [ restartedMain] p6spy : #1630654076266 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category; 2021-09-03 16:27:56.266 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item 2021-09-03 16:27:56.268 INFO 19308 --- [ restartedMain] p6spy : #1630654076268 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item; 2021-09-03 16:27:56.268 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category 2021-09-03 16:27:56.271 INFO 19308 --- [ restartedMain] p6spy : #1630654076271 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category; 2021-09-03 16:27:56.271 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item 2021-09-03 16:27:56.273 INFO 19308 --- [ restartedMain] p6spy : #1630654076273 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item; 2021-09-03 16:27:56.274 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders 2021-09-03 16:27:56.275 INFO 19308 --- [ restartedMain] p6spy : #1630654076275 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders; 2021-09-03 16:27:56.276 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery 2021-09-03 16:27:56.278 INFO 19308 --- [ restartedMain] p6spy : #1630654076278 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery; 2021-09-03 16:27:56.278 DEBUG 19308 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member 2021-09-03 16:27:56.280 INFO 19308 --- [ restartedMain] p6spy : #1630654076280 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member; 2021-09-03 16:27:56.281 INFO 19308 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-09-03 16:27:56.291 INFO 19308 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2021-09-03 16:27:56.543 WARN 19308 --- [ restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2021-09-03 16:27:56.944 INFO 19308 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2021-09-03 16:27:57.260 INFO 19308 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 2021-09-03 16:27:57.363 INFO 19308 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-09-03 16:27:57.383 INFO 19308 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Started JpashopApplication in 7.709 seconds (JVM running for 8.667) 2021-09-03 16:28:00.462 INFO 19308 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-09-03 16:28:00.462 INFO 19308 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2021-09-03 16:28:00.464 INFO 19308 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 2021-09-03 16:28:00.580 INFO 19308 --- [nio-8080-exec-1] j.jpashop.controller.HomeController : home controller 2021-09-03 16:28:07.221 DEBUG 19308 --- [nio-8080-exec-7] org.hibernate.SQL : call next value for hibernate_sequence 2021-09-03 16:28:07.240 INFO 19308 --- [nio-8080-exec-7] p6spy : #1630654087240 | took 7ms | statement | connection 4| url jdbc:h2:tcp://localhost/~/jpashop call next value for hibernate_sequence call next value for hibernate_sequence; 2021-09-03 16:28:07.282 INFO 19308 --- [nio-8080-exec-7] p6spy : #1630654087282 | took 0ms | commit | connection 4| url jdbc:h2:tcp://localhost/~/jpashop ; 2021-09-03 16:28:07.467 DEBUG 19308 --- [nio-8080-exec-8] org.hibernate.SQL : select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ 2021-09-03 16:28:07.470 INFO 19308 --- [nio-8080-exec-8] p6spy : #1630654087470 | took 0ms | statement | connection 5| url jdbc:h2:tcp://localhost/~/jpashop select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_; 2021-09-03 16:28:07.477 INFO 19308 --- [nio-8080-exec-8] p6spy : #1630654087477 | took 0ms | commit | connection 5| url jdbc:h2:tcp://localhost/~/jpashop ; 2021-09-03 16:28:08.785 INFO 19308 --- [nio-8080-exec-1] j.jpashop.controller.HomeController : home controller 2021-09-03 16:28:29.532 DEBUG 19308 --- [nio-8080-exec-4] org.hibernate.SQL : select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ 2021-09-03 16:28:29.534 INFO 19308 --- [nio-8080-exec-4] p6spy : #1630654109534 | took 0ms | statement | connection 6| url jdbc:h2:tcp://localhost/~/jpashop select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_; 2021-09-03 16:28:29.536 INFO 19308 --- [nio-8080-exec-4] p6spy : #1630654109535 | took 0ms | commit | connection 6| url jdbc:h2:tcp://localhost/~/jpashop ; 2021-09-03 16:28:34.383 INFO 19308 --- [nio-8080-exec-7] j.jpashop.controller.HomeController : home controller 2021-09-03 16:28:36.714 DEBUG 19308 --- [nio-8080-exec-3] org.hibernate.SQL : call next value for hibernate_sequence 2021-09-03 16:28:36.716 INFO 19308 --- [nio-8080-exec-3] p6spy : #1630654116716 | took 0ms | statement | connection 7| url jdbc:h2:tcp://localhost/~/jpashop call next value for hibernate_sequence call next value for hibernate_sequence; 2021-09-03 16:28:36.718 INFO 19308 --- [nio-8080-exec-3] p6spy : #1630654116718 | took 0ms | commit | connection 7| url jdbc:h2:tcp://localhost/~/jpashop ; 2021-09-03 16:28:36.729 DEBUG 19308 --- [nio-8080-exec-4] org.hibernate.SQL : select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ 2021-09-03 16:28:36.730 INFO 19308 --- [nio-8080-exec-4] p6spy : #1630654116730 | took 0ms | statement | connection 8| url jdbc:h2:tcp://localhost/~/jpashop select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_ select item0_.item_id as item_id2_3_, item0_.name as name3_3_, item0_.price as price4_3_, item0_.stock_quantity as stock_qu5_3_, item0_.artist as artist6_3_, item0_.etc as etc7_3_, item0_.author as author8_3_, item0_.isbn as isbn9_3_, item0_.actor as actor10_3_, item0_.director as directo11_3_, item0_.dtype as dtype1_3_ from item item0_; 2021-09-03 16:28:36.732 INFO 19308 --- [nio-8080-exec-4] p6spy : #1630654116731 | took 0ms | commit | connection 8| url jdbc:h2:tcp://localhost/~/jpashop ; =======================================
-
미해결홍정모의 게임 만들기 연습 문제 패키지
vcpkg 다운로드에 문제를 겪고있습니다
현재 vcpkg를 통하여 opengl, glew, glfw3를 32비트와 64비트 모두를 선생님의 chapter가 있는 곳에 전부 다운받아 놓은 상태입니다. chapter1 - lecture1.sln을 통하여 코드를 실행하였더니 "파일소스를 열 수 없습니다 "GLFW/glfw3.h" 이렇게 에러가 나는데 어떻게 하면 해결 할 수 있을까요?
-
해결됨더 자바, 코드를 조작하는 다양한 방법
클래스로더 질문이 있습니다.
안녕하세요 매번 유튜브와 인프런에서 좋은강의 감사합니다. 질문이 있습니다. 클래스 로더에서 '로딩이 끝나면 해당 클래스 타입의 Class 객체를 생성하여 "힙" 영역에 저장.' 이라고 설명 되어 있는데요. 클래스 타입의 Class 객체를 생성 이부분이 헷갈려서요 만약에 Book 클래스가 있으면 Book book = new Book(); <- 이것을 뜻하는걸까요 ? 그렇다면 만약 new 키워드가 없고 인스턴스화를 하지 않으면 Class 객체를 생성하지 않는다는 말인지요..
-
해결됨[2024년 출제기준] 웹디자인기능사 실기시험 완벽 가이드(HTML+CSS+JQUERY)
선생님 웹디자인 기능사 시험치고 왔는데요.....
선생님 웹디자인 기능사 시험치고 왔는데요, 12번 Vally Festival이 시험으로 나왔어요.... 슬라이드가 이미지만 바뀌면 안되고, 이미지가 좌에서 우 또는 우에서 좌로 이동하게 하라고 해서.....이렇게 코드를 넣었고요... /*slide*/ .slide{ position: relative; width:800px; height: 350px; overflow: hidden; } .slide > div{ width:2400px; font-size: 0;/*font-size: 0;해야 width:3600px;이 되어 이미지가 가로로 배치된다*/ position: absolute; top:0; left:0; animation: slide 8s linear infinite; } @keyframes slide { 0%{ left:0; } 30%{ left:0; } 35%{ left:-1200px; } 65%{ left:-1200px; } 70%{ left:-2400px; } 95%{ left:-2400px; } 100%{ left:0; } .news는 제가 말줄임표를 태그가 기억이 안나서,,, 제가 임의로 짤랏고요... 그리고.... .modal-content에 transform: translate(-50%, -50%); 넣는걸 깜빡했어요.... 나머지는 잘 했는데,,,, 합격할 수 있을까요? 네비게이션 작동도 잘됬었고, 슬라이드도 잘됬는데 합격 할수 있을까요?
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
안녕하세요 질문드립니다!
cmd 창에서 gradlew bulid 를 실행하면 Gradle 7.1.1 requires Java 8 or later to run. You are currently using Java 7. 이러한 문구가 나오면서 따로 작동이 안되는데 java -version 을 사용하여 확인해보면 java version "11.0.12" 2021-07-20 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode) java11로 되어있는데 무엇이 문제 인지를 모르겠습니다 ㅜㅜ
-
미해결왕초보를 위한 Adobe Photoshop CC 2019 입문자 가이드
글자 크기가 안커져요
(사진)
-
해결됨[2024년 출제기준] 웹디자인기능사 실기시험 완벽 가이드(HTML+CSS+JQUERY)
menu에 hover하면 배경색이 검은색되고 글씨가 흰색이 되야하는데 안되요....sub-menu도요
menu에 hover하면 배경색이 검은색되고 글씨가 흰색이 되야하는데 안되요....sub-menu도요 코드에 어떤 문제가 있는걸까요? <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <title>부여 가을연꽃축제</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <div class="container"> <div class="left"> <header> <div class="header-logo"> <a href="#none"> <img src="images/logo-header.png" alt="header-logo"> </a> </div><!--.header-logo--> <div class="navi"> <ul class="menu"> <li> <a href="#none">축제소개</a> <div class="sub-menu"> <a href="#none">초대의 글</a> <a href="#none">축제개요</a> <a href="#none">축제연혁</a> <a href="#none">오시는길</a> </div><!--.sub-menu--> </li> <li> <a href="#none">행사안내</a> <div class="sub-menu"> <a href="#none">셔틀버스안내</a> <a href="#none">행사안내</a> <a href="#none">행사일정</a> <a href="#none">소공연장</a> </div><!--.sub-menu--> </li> <li> <a href="#none">홍보마당</a> <div class="sub-menu"> <a href="#none">축제소식</a> <a href="#none">보도자료</a> <a href="#none">음식레시피</a> </div><!--.sub-menu--> </li> <li> <a href="#none">참여마당</a> <div class="sub-menu"> <a href="#none">참가후기</a> <a href="#none">연꽃갤러리</a> <a href="#none">포토갤러리</a> </div><!--.sub-menu--> </li> </ul> </div><!--.navi--> </header> </div><!--.left--> <div class="right"> <div class="slide"> <div> <a href="#none"> <img src="images/slide-01.jpg" alt="slide image1"> </a> <a href="#none"> <img src="images/slide-02.jpg" alt="slide image2"> </a> <a href="#none"> <img src="images/slide-03.jpg" alt="slide image3"> </a> </div> </div><!--.slide--> <div class="items"> <div class="news"></div><!--.news--> <div class="gallery"></div><!--.gallery--> <div class="shortcut"></div><!--.shortcut--> </div><!--.items--> <footer> <div class="copyright"> (주)이스타컴퍼니 | 대표자 : 최종윤 | 개인정보관리책임자 : 이주현 부장 사업장주소 : 인천광역시 중구 개항로 6층 (주)이스타컴퍼니 </div><!--.copyright--> <div class="sns"> <div> <a href="#none"> <img src="images/sns-01.png" alt="facebook"> </a> <a href="#none"> <img src="images/sns-02.png" alt="tweeter"> </a> <a href="#none"> <img src="images/sns-03.png" alt="instagram"> </a> </div> <div> <select> <option value=""> Family Site </option> <option value=""> 여주군청 홈페이지 </option> <option value=""> 한국관광공사 </option> <option value=""> 여행자보험가입 </option> </select> </div> </div><!--.sns--> </footer> </div><!--.right--> </div> <script src="script/jquery-1.12.4.js"></script> <script src="script/custom.js"></script> </body> </html> @charset 'utf-8'; *{ padding: 0; list-style: none; text-decoration: none; } a{ color:#222328; } body{ margin:0; background-color: #fff; color:#222328; font-size: 15px; } .container{ border: 1px solid red; width:1000px; } .container > div{ float: left; box-sizing: border-box; } .left{ width:200px; } .right{ width:800px; } header{ } header > div{} .header-logo{ height: 100px; line-height: 130px; } .navi{ height: 400px; } .slide > div{ border: 1px solid green; height: 350px; } .items{ overflow: hidden; } .items > div{ border: 1px solid pink; height: 200px; float: left; box-sizing: border-box; } .news{ width: 300px; } .gallery{ width: 300px; } .shortcut{ width: 200px; } footer{ overflow: hidden; } footer > div{ height: 100px; float:left; box-sizing: border-box; text-align: center; } .copyright{ width:600px; padding-top: 30px; } .sns{ width:200px; } .sns div{ height: 50px; box-sizing: border-box; } .sns div:nth-child(1){ padding-top: 15px; } .sns div:nth-child(2){ padding-top: 10px; } /* slide */ .slide{ position: relative; } .slide > div{ /*position: absolute;를 여기에다가 주는게 아니라 .slide > div a{}안에 주어야함*/ } .slide > div a{ position: absolute; top:0; left:0; opacity: 0; animation: slide 10s linear infinite; } .slide > div a:nth-child(1){ animation-delay: 0s; } .slide > div a:nth-child(2){ animation-delay: 3.5s; } .slide > div a:nth-child(3){ animation-delay: 7s; } @keyframes slide{ 0%{ opacity: 0; visibility: hidden; /*visibility: hidden;*/ } 5%{ opacity: 1; } 35%{ opacity: 1; } 40%{ opacity: 0; } 100%{ opacity: 0; } } /* Nevigation */ .menu{ padding: 0; width: 90%; margin: auto; } .menu li{ text-align: center; } .menu li > a{ border: 1px solid #000; display: block; padding: 5px; transition: 0.5s; } .menu li:hover > a{ background-color: #fff; color:#000; } .sub-menu{ border: 1px solid #000; } .sub-menu a{ display: block; padding: 5px; transition: 0.5s; } .sub-menu a:hover{ background-color: #fff; color:#000; }
-
해결됨자바스크립트 제대로 배워볼래?
함수 질문합니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. array.splice(start[, deleteCount[, item1[, item2[, ...]]]]) mdn 문서보면 저런식으로 써져있는데 [, [, [[[]]] 이런건 무슨 기호인가요?
-
해결됨자바스크립트 제대로 배워볼래?
mdn 문서를 봤는데 특이한게 있어서요
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. array.splice(start[, deleteCount[, item1[, item2[, ...]]]]) 이런식으로 쓰여져 있는데 [, [, ?? 이건 무슨뜻일까요?ㅠㅠ 중첩구조로 되있는데
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
for문 앞 res와 score는 for문 안에서 선언했는데 지역변수 아닌가요?? 문법이 이해가 안되네요 ㅠ
res와 score는 지역변수인데 for문 밖에서 사용하는게 이해가 안되네요 ㅠ