본문 바로가기

error8

[Webpack] 첫 빌드하면서 만난 오류 기록 throw new WebpackOptionsValidationError(webpackOptionsValidationErrors); ^ WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. - configuration misses the property 'entry'. object { : non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function -> The entry point(s).. 2021. 6. 28.
[ERROR] tomcat port already in use port alreayport already in use tomcat (톰캣) 서버를 올리는데 계속 이런 에러가 났고, 같이 올린 서버를 확인했을 때 같은 포트로 올라간 서버는 없었다. 그래서 그냥 터미널로 kill 해서 정상적으로 재기동되었으니 끄적끄적. $ lsof -i :[port] ========================================================= COMMAN PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 123 ha 17 IPv6 a12a5 0t0 TCP asdf ========================================================= $ kill -9 [PID] # $ kill -9 123 2020. 10. 30.
[ERROR] org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Mybatis 로 개발하다가 발생한 에러. 처음엔 에러만 읽고 무언가 Binding 을 못했다길래 1. 부분과 2. 쿼리에서 parameterType 부분과 3. @MapperScan('') 부분도 봤는데 잘 되어있어서 좀 헤맸다.. ㅎ 구글링하니까 Interface 경로를 못찾는 경우가 태반이라 그래서, 경로가 올바른지에만 집중했었는데 나의 에러는 경우가 조금 달랐다. 단순 오타가 아닌 경로의 문제 였으니까... 원인 : main/java/.../..Mapper.class 경로와 resources/.../..Mapper.xml 경로가 일치해야 한다. 해결 : m.. 2020. 4. 6.
[Spring] Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported [Handler] Throwable Error!!! uri: {호출한 URI}, trace: org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported 개요 : 단순 form 에 데이터 넣고 submit 때린 것 밖에 없는데.. 왜 받질 못하니 😭 @PostMapping("/{호출할 URI}") @ResponseBody public Object myTestMethod(@RequestBody TestModel testModel) { // 수행코드 } 원인 : 다른 POST 통신할 때와 동일하게 모델을 @RequestBody.. 2020. 3. 20.
[MyBatis] there is no getter for property named 에러 there is no getter for property named in 'user_name' ... 원인 : 아래처럼 camel case 써야 되는 곳에 snake case 써서 발생한 오류.. (결국 오타라는 뜻;) INSERT INTO user ( user_id , user_name , age ) VALUES ( #{userId} , #{userName} , #{age} ) ON duplicate KEY UPDATE user_name = #{user_name} , age = #{age} 해결 : 위에 #{user_name} 부분을 #{userName} 으로 바꿔주니까 해결 .. 머쓱; 2020. 2. 11.
[NodeJS] bcrypt 설치 404 오류 Windows10에서 node.js 로 bcrypt.js 설치하려니까 404 오류가 났다. 에러메세지 : 'Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.3/bcrypt_lib-v3.0.3-node-v64-linux-x64-glibc.tar' node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.3/bcrypt_lib-v3.0.3-node-v6.. 2019. 9. 30.