IntelliJ で最近開発をしていて、 gradle プラグインがあまりよろしくない挙動をするので、 Terminal を使用して ./gradlew clean build && java -jar launcher/build/libs/launcher-0.1.0.jar こんな感じで実行している。 問題 ところが、 Mac の Terminal ではうまくいくのに、 IntelliJ の Terminal では次のエラーが発生して起動しないことがあった。 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [/MyBatisConfig.cl