发 帖

Mstore下载排行

赞助者

分享者

MCms环境配置常见问题 

楼主: 铭飞科技 2015-10-23 22:43:35 18273 20

1、包有错误且中文是乱码

1.png

解决方式:项目右键属性窗口,配置项目编码格式为UTF-8



2、包提示有错误

解决方式:项目右键属性窗口,检查jdk的环境与版本,MCms需要JDK7版本或以上版本。以下是Eclipse3处可配置版本的方式,都需要逐个进行检查。

1.png2.png3.png


这里的Dynamic Web Module 需要切换至3.0

3、切换Dynamic Web Module 版本提示错误

1.png

这时需要手动进行修改配置,切换到文件夹导航模式,修改截图对应的xml文件里面的版本号为3.0

1.png


4、提示下图错误信息

1.png

解决方式:手动创建test的目录,如果有疑问可以参考maven的项目结构。

1.png

2.png

5、如果提示JRE相关错误信息,检查EclipseJdk配置参数。

解决方式:具体看截图操作

1.png

2.png


3.png


4.png


5.png


6.png


7.png


6、如果启动报异常,具体异常如下

[2016-03-16 16:53:48,718] localhost-startStop-1 org.mybatis.spring.mapper.ClassPathMapperScanner WARN  - No MyBatis mapper was found in '[com.mingsoft.*.dao]' package. Please check your configuration.

[2016-03-16 16:53:49,375] localhost-startStop-1 org.springframework.web.context.ContextLoader ERROR - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseAuthFilter' defined in class path resource [spring-shiro.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#1': Cannot resolve reference to bean 'druid-stat-pointcut' while setting bean property 'pointcut'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'druid-stat-pointcut' defined in class path resource [spring-mybatis.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0' defined in class path resource [spring-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [spring-shiro.xml]: Cannot resolve reference to bean 'baseAuthRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mingsoft.basic.security.BaseAuthRealm] for bean with name 'baseAuthRealm' defined in class path resource [spring-shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.mingsoft.basic.security.BaseAuthRealm

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mingsoft.basic.security.BaseAuthRealm] for bean with name 'baseAuthRealm' defined in class path resource [spring-shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.mingsoft.basic.security.BaseAuthRealm

Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.mingsoft.basic.security.BaseAuthRealm] for bean with name 'baseAuthRealm' defined in class path resource [spring-shiro.xml]; nested exception is java.lang.ClassNotFoundException: com.mingsoft.basic.security.BaseAuthRealm

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:471)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)

...........

1.png

解决方式:清理一下项目重新编译一下,如果还不能解决请参考第2点与第3点

1.png


7、首页(前端)界面样式混乱或无法打开

1.png


解决方式:登录后台进行页面生成操作就可以修复。

0001.png


8、文章访问不了或没有生成成功

解决方式:需要在生成文章时,选择生成文章时间,起始时间要选择靠前一点,比如文章时在2015081日创建的,那么生成的时候时间需要选择在2015081日前。

0002.png


9、页面有部分乱码,如下截图

1447210384894.png

解决方式:需要更改tomcat/conf/server.xml文件的Connector节点(端口配置的Connector节点)增加URIEncoding="UTF-8"

<Connector port="8080"  protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />


10、出现提示信息“站点不存在”错误,

解决方式:重命名src/main/webapp/WEB-INF下面的ms.install.bak文件为ms.install,去掉.bak即可。

11、出现数据库表不存在的错误提示,可能是由于Mysql的区分大小写导致

尝试解决方式:在my.cnf的 [mysqld] 下增加一行 lower_case_table_names=1

12、Caused by: java.lang.ClassCastException: Cannot cast org.springframework.web.SpringServletContainerInitializer to javax.servlet.ServletContainerInitializer

解决方式:参考第2与第3点,基本都是版本的问题导致。

13、出现提示错误信息  “系统配置错误!详细看论坛常见问题贴:点击查看”,

可能是因为项目部署的地址变动导致

解决方式:如果项目下面存在/src/main/webapp/WEB-INF/ms.install.bak文件,将文件重命名为ms.install

14、生成栏目,生成文章点击更新,一直出于更新中

错误原因:标签使用错误所以才会出现这种情况

15、生成主页时,选择主页模板出现“暂未文件”

解决方式:去系统设置--->应用设置里面重新保存一下,再去刷新一下生成主页界面即可。

全部回帖

20条回复
该帖子暂无评论!
  • 1F

    图片看不到?

    2015年11月10日 10:02 | 回复

  • 2F
    JOY

    图片看不到的的话 在取缩略图的标签前面加{ms:global.host/}

    2015年11月10日 10:19 | 回复

  • 3F

    在浏览器中输入  http://localhost:8080/cms/initApp  初始化后任然不好使,登录时 提示 “你的操作被系统拒绝,请联系管理人员” 请问怎么解决?

    图片中是项目刚启动时控制台输出的信息:

    下面是初始化和登录控制台显示的信息

    [2015-11-11 11:17:40,176] http-apr-8080-exec-3 com.mingsoft.cms.servlet.InitAppServlet DEBUG - InitAppServlet-----------http://localhost:8080/cms====

    [2015-11-11 11:17:40,535] http-apr-8080-exec-3 com.mingsoft.basic.dao.IAppDao.updateEntity DEBUG - ==>  Preparing: update app SET APP_URL=? where APP_Id = ? 

    [2015-11-11 11:17:40,659] http-apr-8080-exec-3 com.mingsoft.basic.dao.IAppDao.updateEntity DEBUG - ==> Parameters: http://localhost:8080/cms(String), 1549(Integer)

    [2015-11-11 11:17:40,660] http-apr-8080-exec-3 com.mingsoft.basic.dao.IAppDao.updateEntity DEBUG - <==    Updates: 0

    [2015-11-11 11:17:40,715] http-apr-8080-exec-4 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - ==>  Preparing: select * from app where APP_URL like CONCAT('%',?,'%') limit 0,1 

    [2015-11-11 11:17:40,723] http-apr-8080-exec-4 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - ==> Parameters: localhost:8080/cms(String)

    [2015-11-11 11:17:40,740] http-apr-8080-exec-4 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - <==      Total: 0

    [2015-11-11 11:18:12,598] http-apr-8080-exec-9 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - ==>  Preparing: select * from app where APP_URL like CONCAT('%',?,'%') limit 0,1 

    [2015-11-11 11:18:12,600] http-apr-8080-exec-9 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - ==> Parameters: localhost:8080/cms(String)

    [2015-11-11 11:18:12,602] http-apr-8080-exec-9 com.mingsoft.basic.dao.IAppDao.getByUrl DEBUG - <==      Total: 0

    [2015-11-11 11:18:12,806] http-apr-8080-exec-9 com.mingsoft.basic.action.LoginAction DEBUG - {"code":"00000000","result":false,"resultData":"","resultMsg":"您的操作被系统拒绝,请联系系统管理人员!"}


    • 铭飞科技说:
      新版本已经没有initApp操作

    2015年11月11日 11:09 | 回复

  • 4F

    2016年04月14日 07:17 | 回复

  • 5F

    继续总结阿

    2016年04月14日 07:29 | 回复

  • 6F

    商城什么时候发布?

    2016年04月14日 07:30 | 回复

  • 7F

    好的会持续更新

    2016年04月14日 11:50 | 回复

  • 8F

    [铭飞MS 2016-06-04 13:16:04,107](DEBUG) - com.mingsoft.basic.dao.IAppDao - (LoggingCache.java:62) Cache Hit Ratio [com.mingsoft.basic.dao.IAppDao]: 0.8888888888888888 

    [铭飞MS 2016-06-04 13:16:04,110](DEBUG) - com.mingsoft.basic.dao.ISystemSkinDao.getByManagerId - (BaseJdbcLogger.java:139) ==>  Preparing: select * from system_skin left join system_skin_manager on ss_id=ssm_system_skin_ID where ssm_managerID=?  

    [铭飞MS 2016-06-04 13:16:04,111](DEBUG) - com.mingsoft.basic.dao.ISystemSkinDao.getByManagerId - (BaseJdbcLogger.java:139) ==> Parameters: 50(Integer) 

    [铭飞MS 2016-06-04 13:16:04,113](DEBUG) - com.mingsoft.basic.dao.ISystemSkinDao.getByManagerId - (BaseJdbcLogger.java:139) <==      Total: 0 

    六月 04, 2016 1:16:04 下午 org.apache.catalina.core.StandardWrapperValve invoke

    严重: Servlet.service() for servlet [springMvc] in context with path [/mcms] threw exception [Could not resolve view with name '/manager/login' in servlet with name 'springMvc'] with root cause

    javax.servlet.ServletException: Could not resolve view with name '/manager/login' in servlet with name 'springMvc'

    at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1204)

    at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005)

    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952)

    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)

    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)

    at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

    at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)

    at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)

    at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)

    at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)

    at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)

    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)

    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    at java.lang.Thread.run(Thread.java:722)


    [铭飞MS 2016-06-04 13:16:04,122](DEBUG) - com.mingsoft.basic.dao.IAppDao - (LoggingCache.java:62) Cache Hit Ratio [com.mingsoft.basic.dao.IAppDao]: 0.9 


    • 不知道说:
      我输入url(http://localhost:8080/mcms/ms/login.do)后提示这个信息,什么意思
    • 铭飞科技说:
      maven没有更新完整,参考http://ms.mingsoft.net/mbbs/13988/detail.do
    • 丁书林说:
      同样的错误,能给点详细的解决方法吗?谢谢
    • 褚诗运说:
      我也遇到了

    2016年06月04日 13:16 | 回复

  • 9F

    [铭飞MS 2016-07-17 20:32:25,101](ERROR) - org.springframework.web.context.ContextLoader - (ContextLoader.java:351) Context initialization failed 

    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mingsoft.cms.action.ArticleAction]; nested exception is java.io.FileNotFoundException: class path resource [com/mingsoft/basic/action/BaseAction.class] cannot be opened because it does not exist

    at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:187)

    at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)

    at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)

    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)

    at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)

    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)

    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)

    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)

    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)

    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5099)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)

    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

    Caused by: java.io.FileNotFoundException: class path resource [com/mingsoft/basic/action/BaseAction.class] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)

    at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:50)

    at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:98)

    at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)

    at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:93)

    at org.springframework.context.annotation.ConfigurationClassParser.asSourceClass(ConfigurationClassParser.java:647)

    at org.springframework.context.annotation.ConfigurationClassParser$SourceClass.getSuperClass(ConfigurationClassParser.java:810)

    at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:314)

    at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237)

    at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:204)

    at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:173)

    ... 18 more


    2016年07月17日 20:20 | 回复

  • 10F

    输入帐号密码登录,提示站点不存在是什么原因呀

    • 李雷星说:
      请问你是怎么解决的,我也遇到这个问题了

    2016年12月06日 17:21 | 回复

  • 11F

    也少了war包

    image.png

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor#0' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-shiro.xml]: Cannot resolve reference to bean 'baseAuthRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseAuthRealm': Unsatisfied dependency expressed through field 'managerBiz': Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

    at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)

    at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:101)

    at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:85)

    at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)

    at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:249)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:988)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:959)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:472)

    ... 44 more

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-shiro.xml]: Cannot resolve reference to bean 'baseAuthRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseAuthRealm': Unsatisfied dependency expressed through field 'managerBiz': Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

    ... 61 more

    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseAuthRealm': Unsatisfied dependency expressed through field 'managerBiz': Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)

    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

    ... 71 more

    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'managerBiz': Unsatisfied dependency expressed through method 'setManagerDao' parameter 0: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:647)

    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1213)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1053)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)

    ... 81 more

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'IManagerDao' defined in URL [jar:file:/C:/Users/DEll-PCC/.m2/repository/net/mingsoft/ms-basic/1.0.3-SNAPSHOT/ms-basic-1.0.3-SNAPSHOT-classes.jar!/com/mingsoft/basic/dao/IManagerDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1213)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1053)

    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)

    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:639)

    ... 95 more

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

    ... 109 more

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [F:\git\mingSoft-MCMS-master.zip\target\classes\spring-mybatis.xml]: Invocation of init method failed; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)

    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)

    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)

    ... 119 more

    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)

    at com.mysql.jdbc.Util.getInstance(Util.java:387)

    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)

    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)

    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)

    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:860)

    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2163)

    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2088)

    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)

    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)

    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)

    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)

    at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:148)

    at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)

    at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)

    at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1423)

    at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1477)

    at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:684)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:497)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1706)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1645)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)

    ... 126 more

    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure


    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

    at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)

    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:988)

    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)

    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2251)

    at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2104)

    ... 149 more[INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time: 20.014 s

    [INFO] Finished at: 2017-07-07T11:27:05+08:00

    [INFO] Final Memory: 30M/264M

    [INFO] ------------------------------------------------------------------------

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project ms-mcms: There are test failures.

    [ERROR] 

    [ERROR] Please refer to F:\git\mingSoft-MCMS-master.zip\target\surefire-reports for the individual test results.

    [ERROR] -> [Help 1]

    [ERROR] 

    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

    [ERROR] Re-run Maven using the -X switch to enable full debug logging.

    [ERROR] 

    [ERROR] For more information about the errors and possible solutions, please read the following articles:

    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


    • 彭诚诚说:
      上面的重新导入就可以了,但是项目启动报错 严重: Resource read error: Could not load groovy/lang/GroovyObject.class. java.util.zip.ZipException: invalid LOC header (bad signature) at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1400(ZipFile.java:61) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717) at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:420) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at org.apache.catalina.loader.WebappClassLoaderBase.findResourceInternal(WebappClassLoaderBase.java:3446) at org.apache.catalina.loader.WebappClassLoaderBase.findResource(WebappClassLoaderBase.java:1425) at org.apache.catalina.loader.WebappClassLoaderBase.getResourceAsStream(WebappClassLoaderBase.java:1652) at org.apache.catalina.startup.ContextConfig.populateJavaClassCache(ContextConfig.java:2274) at org.apache.catalina.startup.ContextConfig.populateJavaClassCache(ContextConfig.java:2267) at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2170) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2122) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1983) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1944) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1929) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1328) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:887) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    2017年07月07日 11:32 | 回复

  • 12F
    Xp

    没有模板怎么办   QQ截图20170725203639.png

    • Alias说:
      进入后台点击[系统管理]-应用设置-模版风格 选择一个然后保存,然后再更新主页

    2017年07月25日 20:36 | 回复

  • 13F

    QQ截图20170914145552.jpg




    第一次启动必须先访问后台,后台访问地址:http://+ip地址(或localhost):tomcat端口/项目发布名/ms/login.do 出现了这种结果请问怎么办?

    QQ截图20170914145613.jpg

    2017年09月14日 14:58 | 回复