본문 바로가기

Error8

오류(8) - Functions are not valid as a React child. [문제 발생] Functions are not valid as a React child. This may happen if you return a Component instead of from render. Or maybe you meant to call this function rather than return it. return에 renderData라고 만든 함수를 함수명만 써서 오류가 발생하였다. return( test 테스트 페이지 {renderData} ); [해결 과정] {renderData} -> {renderData()}로 수정 return( test 테스트 페이지 {renderData()} ); 2022. 4. 4.
오류(7) - 'Axios' is not defined no-undef [문제 발생] axios가 정의되지않아 문제가 발생하였다. [해결 과정] axios를 import 해주니 오류가 발생하지 않았다. import axios from 'axios'; npm install axios만 해주면 된다고 생각했었는데 해당 라이브러리를 사용하기 위해서는 import가 필수라는 것을 알게 되었다. - 참고 사이트 https://iancoding.tistory.com/151 2022. 4. 4.
오류(6) - [MariaDB] 에러 해결- can't connect to mysql server on 'localhost' [문제 발생] can't connect to mysql server on 'localhost' mariadb 서버 연결이 되지 않아 오류가 발생하였다고 추측하였다. [해결 과정] cmd창에 서비스를 검색, 서비스창을 연다. 해당 Mysql / MariaDB를 선택하여 시작버튼을 누른다. 2022. 3. 30.
오류(5) Server Error - The selection cannot be run on any server. [문제 발생] The selection cannot be run on any server. 해당 오류가 떴다. 맨날 내가 만지면 에러가 뜨는건 기분탓인가 [해결 과정] 해당 프로젝트 오른쪽 마우스 -> Properties - Server -> 해당 톰캣 클릭 -> Apply - 참고 사이트 https://kimsaemjava.tistory.com/166 2022. 1. 11.
오류(4) This application has no explicit mapping for /error, so you are seeing this as a fallback. [문제 발생] 1. 패키지 경로를 설정하지않아 오류가 발생 [해결 과정] TestApplication.java에 @ComponentScan(basePackages = "com.example.main") 추가 * basePackages = "해당 패키지 경로"로 작성 package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot... 2022. 1. 4.
오류(3) spring boot pom.xml 첫 줄 에러 [문제 발생] 1. spring boot pom.xml 첫 줄 에러가 떴다. [해결 과정] - 해당 프로젝트 오른쪽 마우스 -> Maven -> Update Project를 누릅니다. - Force Update of Snapshots/Releases - Update project configuration from pom.xml - Refresh workspace resources from local filesystem - Clean projects 선택 후 OK 누르면 된다 -> 해결 완료 2022. 1. 4.
오류(2) jsp에서 form 데이터 전송시 글자깨짐 [문제발생] BoardVo [board_bno=41, board_title=동광이는, board_content=내꺼야, board_writer=다혜뿌, board_date =null] [해결과정] 1. jsp에 추가 ---> 해결되지 않음 2. form 태그에 accept-charset="utf-8 추가 ---> 해결되지 않음 3. web.xml 파일에서 인코딩 설정 encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 ---> 해결되지 않음 4. server.xml 에서 인코딩 설정 ---> 해결되지 않음 2020. 12. 8.
오류(1) [DB Sql developer] The Network Adapter could not establish the connection; [문제발생] Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLRecoverableException: IO 오류: The Network Adapter could not establish the connection ### The error may exist in file [C:\Users\82105\Desktop\workspace\spring mvc\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SpringProject\WEB-INF\classes\mappers\.. 2020. 12. 7.