Error creating bean with name 'sqlSessionFactory' defined in URL [jar:file:/H:/repository_boot/com/qingcheng/qingcheng_common_service/1.0-SNAPSHOT/qingcheng_common_service-1.0-SNAPSHOT.jar!/applicationContext-dao.xml]: Cannot create inner bean 'com.github.pagehelper.PageHelper#1f43b97a' of type [com.github.pagehelper.PageHelper] while setting bean property 'plugins' with key [0]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.github.pagehelper.PageHelper] for bean with name 'com.github.pagehelper.PageHelper#1f43b97a' defined in URL [jar:file:/H:/repository_boot/com/qingcheng/qingcheng_common_service/1.0-SNAPSHOT/qingcheng_common_service-1.0-SNAPSHOT.jar!/applicationContext-dao.xml]; nested exception is java.lang.ClassNotFoundException: com.github.pagehelper.PageHelper
這個報錯是什么意思啊 這個是一個商城的專案
uj5u.com熱心網友回復:
嚴重: Error listenerStart七月 15, 2020 11:20:55 下午 org.apache.catalina.core.StandardContext startInternal
嚴重: Context [] startup failed due to previous errors
七月 15, 2020 11:20:55 下午 org.apache.catalina.core.ApplicationContext log
資訊: Closing Spring root WebApplicationContext
七月 15, 2020 11:20:55 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
嚴重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 15, 2020 11:20:55 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
嚴重: The web application [] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 15, 2020 11:20:55 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
嚴重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 15, 2020 11:20:55 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
嚴重: The web application [] registered the JDBC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 15, 2020 11:20:55 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
嚴重: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
七月 15, 2020 11:20:55 下午 org.apache.coyote.AbstractProtocol start
資訊: Starting ProtocolHandler ["http-bio-9001"]
感覺是沒讀取到組態檔么
不應該呀配置中有下面這樣的 應該能讀取全部配置了啊
<param-value>classpath*:applicationContext*.xml</param-value>
<context:property-placeholder location="classpath*:*.properties"/>
uj5u.com熱心網友回復:
可能是因為你沒有把組態檔放在src目錄下吧uj5u.com熱心網友回復:
Cannot find class [com.github.pagehelper.PageHelper]uj5u.com熱心網友回復:
nested exception is java.lang.ClassNotFoundException: com.github.pagehelper.PageHelperuj5u.com熱心網友回復:
謝謝!我在父模塊有引入分頁依賴的,不知道為啥不行,在本模塊重新匯入后maven就有了!
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/27813.html
標籤:Java相關
