반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- kubeflow
- Airflow
- 도커
- COALESCE
- chart.js
- Spring
- Kafka
- PostgreSQL
- Spring Error
- openlens
- codedeploy error
- JavaScript
- VPN
- Python
- codebuild
- aws cicd
- chartjs
- aws
- Flux
- redis
- AWS CI/CD 구축하기
- java bigdecimal
- bootstrap
- SQL
- node
- IntelliJ
- Jenkins
- codepipeline
- docker
- codedeploy
Archives
- Today
- Total
Small Asteroid Blog
Unknown column '' in 'field list' on MySQL error 본문
728x90
다음과 같은 에러가 나는데는 3가지 경우가 있다.
1. column이 없어서 그런경우
2. 문자열로 준 데이터가 더블 쿼테이션으로 둘러싸여 있지 않은 경우 (문자열로 인식 못해서)
${test} 를 #{test} 로 변경
3. dto나 service에서 호출을 못하는 경우
나의 경우 2번에 해당하는 에러로 ${test} 를 #{test} 로 변경해주었더니 해결되었다.
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
| thymeleaf onclick href (0) | 2021.05.17 |
|---|---|
| [spring] postgresql 이름의 릴레이션(relation)이 없습니다 (0) | 2021.05.13 |
| Table 'DB_NAME.hibernate_sequence' doesn't exist (0) | 2021.04.28 |
| [spring] application.properties 의 datasource 설정하기(port, db) - DB연결하기 (0) | 2021.04.27 |
| JPA Auditing (0) | 2021.04.22 |