***************************
APPLICATION FAILED TO START
***************************
Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
============================
CONDITIONS EVALUATION REPORT
============================
Positive matches:
-----------------
None
Negative matches:
-----------------
None
Exclusions:
-----------
None
Unconditional classes:
----------------------
None


아니!!
Redis를 사용하는데 host랑 port 정상적으로 입력했고 Redis를 사용하면서 객체 사용하는 포스트들 다 따라해봤는데 안되길래 며칠을 골머리 쌓아가며 드디어 해결방안을 찾아냈다.
어떤 포스트에서 Redis를 사용하는데 혹시 몰라 h2를 build.gradle에 implementation 시켰다 하시길래
어? 위에 Consider the following으로 database h2 뭐시기뭐시기 있으니까 한번 시도해볼까 해서 넣어봤다.

그러고 save하는 test코드를 돌렸다.

이 얼마나 반가운 초록색 check인가!!!
실제 redis db에도 잘 들어간 것을 확인할 수 있다.(너무 기쁜 나머지 2번 돌렸다.)

조회도 잘되나 find메소드도 같이 넣고 돌렸는데, 이 또한 잘 작동한다!!!!

삭제도 테스트해보자!


삭제도 잘 작동한다ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ
이제 드디어 작업을 시작하면 되겠다 ㅠㅠ
근데 왜 redis를 쓰는데 h2를 설치해야 되는건진 모르겠다...