项目启动tomcat报错!求大神解救!

布帆 2020-07-15 11:29:50
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

这个报错是什么意思啊 这个是一个商城的项目
...全文
4537 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
布帆 2020-08-05
  • 打赏
  • 举报
回复
引用 3 楼 Salted-fish的回复:
Cannot find class [com.github.pagehelper.PageHelper]
谢谢!我在父模块有引入分页依赖的,不知道为啥不行,在本模块重新导入后maven就有了!
lkj107 2020-07-24
  • 打赏
  • 举报
回复
nested exception is java.lang.ClassNotFoundException: com.github.pagehelper.PageHelper
Salted-fish 2020-07-24
  • 打赏
  • 举报
回复
Cannot find class [com.github.pagehelper.PageHelper]
比亚迪的品管 2020-07-24
  • 打赏
  • 举报
回复
可能是因为你没有把配置文件放在src目录下吧
布帆 2020-07-15
  • 打赏
  • 举报
回复
严重: 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"/>

50,523

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧