일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Docker
- myBatis
- react 심플캡차
- 젠킨스
- 리액트 캡차
- maven
- 깃
- Spring Security
- 에러
- react 자동입력방지
- jpa
- git
- react captcha
- spring error
- 스프링 시큐리티 로그인
- Security 로그인
- 스프링 시큐리티
- error
- CI
- ChatGPT
- 리액트 심플캡차
- REACT
- build
- 스프링
- spring security 로그인
- Spring Boot
- react simple captcha
- react 캡차
- SpringBoot
- react 상태
Archives
- Today
- Total
목록Illegal attempt to map a non collection as a @OneToMany (1)
I can do it(Feat. DEV)

게시판과 게시글 도메인을 만들던 중 에러를 만났음. ※에러 메세지 - Illegal attempt to map a non collection as a @OneToMany,@ManyToMany or @CollectionOfElements: 도메인 경로 파파고 번역기를 돌려보니 비 컬렉션을 @OneToMany, @ManyToMany 또는 @CollectionOfElements로 매핑하려는 잘못된 시도: 라는 뜻이였음. 거두절미하고 갓글 검색하여 얻은 해결방법 !! 일대다인 @OneToMany를 설정한 Article을 List로 변경해야 한다는 것. ※해결방법 //이전 코드 @OneToMany private Article article; //변경된 코드 @OneToMany private List article..
개발자 모드/오류처리
2022. 10. 26. 10:29