i learning spring boot , right now i m trying to make a database using the spring boot h2 dependency , but the data base does n t show itself in the console as below :
here's the code in /models/AppUsers.java :
i added also the dependencies h2 and jpa in maven project :
here s my controller in /controllers/MainController.java/
also the cose inside the default file
and finally the view inside the /webapp/WEB-INF/jsp/index.jsp
i tried hard to show the db in the url /localhost:8080/console , but anything doesn t work , should i add something else in order to complete the code .