啟動報錯,請問這是什么問題啊
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'app': Unsatisfied dependency expressed through field 'userDoMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDoMapper' defined in file [D:\IntelliJ IDEA 2017.3.5\workspace2\miaosha\target\classes\com\miaosha\dao\UserDoMapper.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
2019-03-10
問題解決 了嗎?我也遇到同樣問題.怎么回事?
2019-02-28
我和你一樣的情況,應該是datasource配置的不對,重新配置一下就解決了的