第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

maven項(xiàng)目中org.mybatis.spring.SqlSessionFactoryBean未找到?怎么解決?

maven項(xiàng)目中org.mybatis.spring.SqlSessionFactoryBean未找到?怎么解決?

2017-06-08 14:48:15,120 [localhost-startStop-1] [org.springframework.web.context.support.XmlWebApplicationContext]-[WARN] Exception encountered during context initialization - cancelling refresh attemptorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.SqlSessionFactoryBean#0' defined in file [D:\workspace\three\taotao-manager\taotao-manager-web\target\classes\spring\applicationContext-mybatis.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis/mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'com.github.pagehelper.PageHelper'.? Cause: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageHelper?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566)?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)?? ?at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)?? ?at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)?? ?at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)?? ?at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)?? ?at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)?? ?at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:743)?? ?at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)?? ?at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)?? ?at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)?? ?at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)?? ?at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)?? ?at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)?? ?at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)?? ?at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)?? ?at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)?? ?at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)?? ?at java.util.concurrent.FutureTask.run(Unknown Source)?? ?at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)?? ?at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)?? ?at java.lang.Thread.run(Unknown Source)C
查看完整描述

1 回答

?
Caballarii

TA貢獻(xiàn)1123條經(jīng)驗(yàn) 獲得超629個(gè)贊

Cause: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageHelper

你需要把PageHelper的dependency寫進(jìn)pom

查看完整回答
反對(duì) 回復(fù) 2017-06-08
  • 1 回答
  • 0 關(guān)注
  • 5191 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)