###前提・実現したいこと
現在Spring BootでWebシステムの構築を学習中です。
ログイン機能を実装しようとしているのですが作成中のプロジェクトを実行すると以下のエラーが出力されます。
内容としてはBeanを作成中にエラーが発生ということとドライバクラスをロードできないということだと思いますがこの場合どのように対処すれば良いのでしょうか?
ご教授お願いします。
###発生している問題・エラーメッセージ
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver\
###補足情報(言語/FW/ツール等のバージョンなど)
STSを使用しています。
DBはMYSQLを使用しています。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。