본문 바로가기
반응형

컴퓨터/오류해결15

[SpringBoot] Unable to find entity-class: <경로>, Unable to load class [경로], Could not load requested class : <경로>_ interface 에 class 임포트 시 오류 Caused by: org.hibernate.AnnotationException: Unable to find entity-class: com.example.firstproject.entity.Comment Caused by: org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.example.firstproject.entity.Comment] Caused by: java.lang.ClassNotFoundException: Could not load requested class : com.example.firstproject.entity.Comment 1. 문제 발생 댓글 기능 구현을 위해서 .. 2022. 1. 30.
[SpringBoot] .sql 파일 추가 후 서버 돌릴 때 오류 해결 (h2, application.properties) Caused by: org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of URL [file:/경로/data.sql]: INSERT INTO article(id, title, content) VALUES (1,'가가가가','1111'); nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "ARTICLE" not found; SQL statement: 1. 문제 발생 다음 위치에 sql 파일을 생성하고 sql 문을 입력해줬습니다. 서버를 돌렸는데 오류가 납니다ㅠㅠ 설마 유료버전을 써야.. 2022. 1. 27.
[SpringBoot] lombok_error: cannot find symbol 롬복 오류 해결 1. 문제 발생 springboot 에서 롬복을 적용시켰습니다. 22년기준, (더 예전에도!) plugin에서 따로 설치를 해주지 않아도 롬복이 적용이 됩니다. 골뱅이들을 입력해주고 import해주고 오른쪽 구석에 코끼리 눌러주면 gradle에도 적용이 되는걸로 알고 있었는데... C:\Users\user\IdeaProjects\spring\SpringBoot_Hong\firstProject_ver11\firstProject\src\main\java\com\example\firstProject\controller\ArticleController.java:28: error: cannot find symbol log.info(form.toString()); ^ symbol: variable log locat.. 2022. 1. 26.
[React] firebase 오류 - .js 파일에 firebase import 가 안됨 (React 너눈 왜케 오류가 많니...) 1. 문제 발생 firebase 에 프로젝트를 등록하고, React 에 등록을 해줬습니다. 그러고 index.js 에 import 하자마자 뜨는 오류 export 'default' (imported as 'firebase') was not found in './firebase' (module has no exports) ./firebase 에서 못찾겠답니다. 2. 문제 원인 찾기 https://exerror.com/solved-export-default-imported-as-firebase-was-not-found-in-firebase-app/ [Solved] export 'default' (imported as 'firebase') was not found i.. 2022. 1. 20.
[React] react-router-dom 설치 후 Route 시 오류 해결 index.tsx:19 Uncaught Error: A is only ever to be used as the child of element, never rendered directly. Please wrap your in a . 1. 문제 발생 yarn 으로 react-router-dom 을 add 하고 라우터 접속을 해줬는데 오류가 발생했습니다. index.tsx:19 Uncaught Error: A is only ever to be used as the child of element, never rendered directly. Please wrap your in a . at invariant (index.tsx:19) at Route (index.tsx:230) at renderWithHooks .. 2022. 1. 8.
[React] yarn오류 - power shell 에서 yarn 안 되고 cmd 에서는 될 때 해결 [React] yarn오류 - power shell 에서 yarn 안 되고 cmd 에서는 될 때 해결 1. 문제 발생 yarn 설치를 미루고 미루다가 슬슬 npm 으로 감당이 안되길래 설치를 했습니다. https://classic.yarnpkg.com/lang/en/docs/install/#windows-stable Yarn Fast, reliable, and secure dependency management. classic.yarnpkg.com 안전하게 1.22버전으로 npm install --global yarn cmd 에서 따로 경로설정을 하지 않고 위 명령어를 복붙해서 설치했습니다. yarn 버전을 출력해도 이쁘게 잘 보여줬지만... 정작 vsc 터미널(powerShell)에서 yarn star.. 2021. 12. 27.
[React] 리액트 Bootstrap4 버전 오류 -Jumbotron import 에러 해결 [React] 리액트 Bootstrap4 버전 오류 -Jumbotron import 에러 해결 1. 문제 발생 리액트로 쇼핑몰 디자인을 하던 도중, html 작업이 너무 귀찮아서 bootstrap을 깔았습니당 당연히 국룰 bootstrap4버전으로 설치했구요 nav바랑 jumbotron을 복붙한 순간 export 'jumbotron' (imported as 'jumbotron') was not found in 'react-bootstrap' 이라는 오류가뜨면서 리액트 페이지가 먹통이 되어버립니다. 2. 문제 원인 찾기 다시한번 react-bootstrap 페이지로 들어가봅니다. https://react-bootstrap-v4.netlify.app/ React-Bootstrap The most popula.. 2021. 12. 25.
반응형