본문 바로가기

분류 전체보기94

django - No Python interpreter configured for the module 프로젝트 도중 파이썬을 지웠다가 다시 설치했는데 나오는 오류. 인터프리터를 찾지 못했다. 먼저 프로젝트의 모듈 세팅을 연다. https://m.blog.naver.com/PostView.nhn?blogId=dlsehtjd&logNo=221297128999&proxyReferer=https:%2F%2Fwww.google.com%2F 파이참(PyCharm) 인터프리터 오류 해결하기 - No Python interpreter configured for the project 안녕하세요. 이번에는 파이썬의 편집 툴인 파이참(PyCharm)을설치했을 때 나오게 되는 오류증상인 No P... blog.naver.com 2020. 4. 16.
Spring - No EntityManager with actual transaction available for current thread - cannot reliably process 'remove' call 에러 해결 https://stackoverflow.com/questions/32269192/spring-no-entitymanager-with-actual-transaction-available-for-current-thread Spring - No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call I get this error when trying to invoke "persist" method to save entity model to database in my Spring MVC web application. Can't really find any post or pag.. 2020. 2. 28.
SpringBoot - JDBC with Session / Error : spring_session table does not exist SpringBoot : 2.2.2.RELEASE spring-session-jdbc : 2.2.0.RELEASE compile('org.springframework.session:spring-session-jdbc:') 로 spring-session-jdbc를 추가. Library에서 spring-session-jdbc를 찾아 들여다 보면, org.springframework.session.jdbc 내부에 Session 데이터를 저장하기 위한 Table 쿼리문들이 있다. 이 sql 파일중에 내가 연결하는 DB와 맞는 쿼리를 실행시켜서 Table을 만들고 @EnableJdbcHttpSession 로 연결시켜주면 HttpSession에 setAttribute로 저장하면 DB에 자동으로 저장되고 심지어 Exp.. 2020. 2. 16.
git - 잘못 push한 폴더 삭제하기 $ git rm -r --cached .idea/ rm '.idea/.name' rm '.idea/compiler.xml' rm '.idea/gradle.xml' rm '.idea/jarRepositories.xml' rm '.idea/misc.xml' rm '.idea/vcs.xml' rm '.idea/workspace.xml' $ git commit -m "ignore .idea/" [develop 95fd7a8] ignore .idea/ 7 files changed, 364 deletions(-) delete mode 100644 .idea/.name delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/gradle.xml delete mo.. 2020. 2. 12.
intellij - @Table(name = " 빨간줄 " ) 이 뜰 경우 빨간줄을 없애는 방법 야매긴 하지만 @Table 어노테이션(Annotaion)에서 빨간줄이 나오면 보기싫다. git에 commit할때도 맨날 오류있으니까 review하라고 물어본다. 이 빨간줄이 나와도 잘 동작하니 없애보도록 하겠다. ctrl + alt + S 를 눌러 Setting으로 들어간다 2. Editor -> inspections 에서 "Unresolved database refereces in annotations" 옵션을 체크 해제 해주면 된다. 2020. 2. 7.
궁금한거 URL 정리 https://devhaks.github.io/2019/04/20/session-strategy/ 웹 서버 개발의 Session 전략 웹 서버 개발에 Session 의 문제점과 서비스 환경에 따른 전략에 대해 설명합니다. devhaks.github.io https://sanghaklee.tistory.com/m/57 RESTful API 설계 가이드 1. RESTful API 설계 가이드 본 문서는 REST API를 좀 더 RESTful 하게 설계하도록 가이드할 목적으로 만들어졌다. 따라서, 기본적인 REST API 개념 설명은 아래의 링크로 대신한다. REST API 제대로 알고 사용하.. sanghaklee.tistory.com https://cheese10yun.github.io/jpa-prefer.. 2020. 2. 6.