Spring 에러 모음 #1

ims·2020년 9월 9일

ERROR !!!

목록 보기
2/16

could not initialize proxy - no Session

could not initialize proxy - no Session

https://ankonichijyou.tistory.com/entry/JPA-OneToMany-%EC%98%A4%EB%A5%98

Post

Header<UserApiResponse/> 식으로 data를 받으면 {"data":{} } 로 받아야 한다. 또 Post parameter에 @RequestBody를 쓰지 않아서 data가 계속 null로 들어온 적이 있다. ERROR 체크할 때 일단 parameter에 받은 값을 그대로 return 해봤는데 null이 계속 출력된 것을 보아 data가 Header에 들어오지 않은 것을 확인할 수 있었다. ERROR의 범위를 좁히면서 ERROR를 적절히 해결한 것 같다. ( 20.09.12 )

Test

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':test'. > No tests found for given includes: springbaeminbook.springbaeminbook.HelloControllerTest.hello _ ϵȴ Try:
~~ 어쩌구

Test파일을 만드는데 실패했댄다. 해결방법

https://www.inflearn.com/questions/15495

저 부분이 gradle로 돼있었다. intelij IDEA로 바꾸니까 됐다.

Linux git

Unable to access 'git/attributes'

https://stackoverflow.com/questions/27150926/unable-to-access-git-attributes

profile
티스토리로 이사했습니다! https://imsfromseoul.tistory.com/ + https://camel-man-ims.tistory.com/

0개의 댓글