에러 50

Cannot run program catalina.sh (in directory bin): error=13, Permission denie

Cannot run program catalina.sh (in directory bin): error=13, Permission denie 맥북에서 인텔리제이와 tomcat을 연결한 뒤 run을 할 경우 생기는 에러이다. 이는 새로 받은 톰캣의 권한이 없기 때문에 발생한다. 이러할 경우 자신의 설치(혹은 압축 해제 한) 톰캣 경로의 bin 파일로 가서 catilna.sh의 권한을 775로 바꾸어 주면 된다! sudo chmod 775 catalina.sh

에러 2023.07.11

[Ubuntu] docker gpg key 에러

인터넷을 따라 하다 보면 gpg key 할 때 에러가 발생할 수 있다. 이는 서버에 gpg key가 등록된 건지 확인할 수 없을 때 발생한다. Hit:1 http://...ubuntu.com/ubuntu jammy InRelease Hit:2 http://...ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://...ubuntu.com/ubuntu jammy-backports InRelease Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Reading package lists..

에러 2023.05.17

ImportError: Could not import 'rest_framework_jwt.authentication.JSONWebTokenAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: cannot import name 'smart_text' from 'django.utils.encoding'

ImportError: Could not import 'rest_framework_jwt.authentication.JSONWebTokenAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: cannot import name 'smart_text' from 'django.utils.encoding' JWT를 Django에서 사용하며 생긴 에러입니다. 해당 에러는 Django 버전이 4버전 이상일 경우 발생됩니다. rest_framework_jwt 해당 프레임워크 말고 "rest_framework_simplejwt"을 사용해줍니다. 여기서 -> 변경 djangorestframework-simplejwt pip도 설치해줍..

에러 2022.11.12

[Spring Boot] mybatis 경로 에러 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxx.xxx.xxx.main.mapper.read.xxx.xxx intelliJ를 통하여 Spring Boot를 기동 하는 중 분명 명칭도 다 맞고 경로도 잘 따라가는데 xml 파일을 못 찾아가는 현상이 있었습니다. 분명 application.yml 파일의 classpath 경로도 다 확인 후 진행해도 안되어서 무엇인가 했더니 .. 분명 같은 이름의 mappers라는 폴더 아래에 있을 read 폴더와 다른 폴더가 따로 있는 걸 보고 설마.. read 폴더를 새로 만든 뒤 mappers 아래로 이동시키고, main 폴더를 넣어주니 경로가 다른 걸 확인했습..

에러 2022.06.29

Push failed Ssh: connect to host '...' port 22: Connection timed out

Push failed Ssh: connect to host '...' port 22: Connection timed out Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 새로운 프로젝트에서 git에 커밋을 하려고 하니 해당 에러가 나왔다 .. 우선 remote가 어떻게 연결 되어 있는지 확인해 보자. git remote -v 알고보니 remote를 연결할 때 "Clone with SSH" 주소를 넣어 버렸던 것이었다. 다시 remote 삭제 후 재연결 시도 git remote remove origin //연결 된 remote 제거 git re..

에러 2022.06.28

[Intellij] org.apache.jasper.JasperException: JSP를 위한 클래스를 컴파일할 수 없습니다.

Intellij에서 java project를 돌리던 중 해당 에러가 나왔다. ** Root cause is: JSP를 위한 클래스를 컴파일할 수 없습니다.: 코드 생성된 자바 파일 [*jsp.java]의 [*] 행에서 오류가 발생했습니다. The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Stacktrace: org.apache.jasper.JasperException: JSP를 위한 클래스를 컴파일할 수 없습니다.: 코드 생성된 자바 파일 [*jsp.java]의 [*] 행에서 오류가 발생했습니다. The code of method _jspService(HttpSe..

에러 2022.05.20