본문 바로가기

에러3

npx create-react-app 디렉토리이름 (react 설치 에러 문제) npx create-react-app 디렉토리이름명령어로 react를 설치하려고 한다.그런데 다음과 같이 에러가 발생했다.taekgyu@taekgyuui-MacBookAir test-app % npx create-react-app . Creating a new React app in /Users/taekgyu/devProject/lecture/reactStudy/test-app.Installing packages. This might take a couple of minutes.Installing react, react-dom, and react-scripts with cra-template...added 1324 packages in 5s267 packages are looking for fun.. 2024. 12. 17.
Exception 수천번 발생하는에러... postman으로 body에 다음 json값을 넣고 { "userName" : "test02", "password" : "test" } http://localhost:8080/api/v1/users/join 경로로 post 요청을 했다. 기존에 아이디가 있으면 DUPLICATED_USER_NAME 에러가 떠야하는데 java.lang.StackOverflowError: null 에러가 뜬다.. 아래 서비스 코드로 진행을 했다. 그런데 만약에 test03 이라는 유저가 db에 있으면 역시나 기존에 유저아이디가 있기 때문에 SnsApplicationException 에러가 발생합니다. 그런데 나는 java.lang.StackOverflowError: null 에러가 발생하고 at com.example.sns... 2022. 9. 10.
java.io.FileNotFoundException: class path resource [주소] cannot be opened because it does not exist java.io.FileNotFoundException: class path resource [주소] cannot be opened because it does not exist 나는 h2 db를 사용하고 있었는데 application.yml 에서 db관련 설정은 아래 설정이었는데 url: jdbc:h2:./myselectdb;AUTO_SERVER=TRUE driver-class-name: org.h2.Driver username: sa password: test.db.mv 가 잠시 다른 경로에 있었다. 그래서 다시 test.db.mv를 원래 경로에 두고 localhost:포트번호/h2-console 에서 JDBC URL 에 jdbc:h2:~/test 를 입력해주고 다시 test를 활성화 시킨다음 프로그램.. 2022. 7. 3.