主题 : X1版本打开localhost:8080报404的错
级别: 秀才
UID: 132087
积分:61 加为好友
威望: 0 精华: 0
主题:3 回复:23
注册时间:2019-11-06
在线时长:0.96
1#   发表于:2019-11-07 15:20:29  IP:117.190.*.*
2019-11-07 15:17:06.944 [localhost-startStop-1] INFO  com.jeecms.front.CmsFrontApplication - Starting CmsFrontApplication vx1.0.16 on surface-laptop with PID 40536 (C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes started by 38509 in C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\bin)
2019-11-07 15:17:06.955 [localhost-startStop-1] INFO  com.jeecms.front.CmsFrontApplication - The following profiles are active: prod
2019-11-07 15:17:07.088 [localhost-startStop-1] INFO  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@1d6cc9c: startup date [Thu Nov 07 15:17:07 CST 2019]; root of context hierarchy
2019-11-07 15:17:14.946 [localhost-startStop-1] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]
2019-11-07 15:17:15.192 [localhost-startStop-1] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context.xml]
2019-11-07 15:17:15.242 [localhost-startStop-1] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]
2019-11-07 15:17:15.262 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_pagination' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.PaginationDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.264 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'text_cut' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.TextCutDirective]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.266 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.267 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.268 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_channel' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ChannelDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.270 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.272 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content_page' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectivePage]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.273 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_content' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentDirectiveBean]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.274 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_tag_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.ContentTagDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.275 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_hot_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.HotWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.276 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_category_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkCategoryDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.277 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_link_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.LinkDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.278 [localhost-startStop-1] INFO  o.s.b.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'cms_search_word_list' with a different definition: replacing [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]] with [Generic bean: class [com.jeecms.front.controller.directive.SearchWordDirectiveList]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context-directive.xml]]
2019-11-07 15:17:15.278 [localhost-startStop-1] INFO  o.s.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [C:\Users\38509\Desktop\部署\apache-tomcat-8.5.47-windows-x64\apache-tomcat-8.5.47\webapps\ROOT\WEB-INF\classes\config\context.xml]
2019-11-07 15:17:18.486 [localhost-startStop-1] INFO  o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-07 15:17:19.562 [localhost-startStop-1] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'cacheConfiguration' of type [com.jeecms.common.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$54b61d1c] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-07 15:17:20.112 [localhost-startStop-1] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$cb6812a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-11-07 15:17:20.401 [localhost-startStop-1] INFO  org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 13313 ms
2019-11-07 15:17:20.906 [localhost-startStop-1] WARN  o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jeecms.common.configuration.ContextConfig': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
2019-11-07 15:17:20.925 [localhost-startStop-1] INFO  o.s.b.a.l.ConditionEvaluationReportLoggingListener - 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-11-07 15:17:20.933 [localhost-startStop-1] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter - 

***************************
APPLICATION FAILED TO START
***************************

是什么原因呢?
级别: 论坛管理员
UID: 122721
积分:34990 加为好友
威望: 0 精华: 0
主题:0 回复:29932
注册时间:2018-05-07
在线时长:440.64
2#   发表于:2019-11-07 15:28:46  IP:117.69.*.*
您那边是用的源码部署还是部署包部署的?
每天告诉自己一次,“我真的很不错”。
级别: 秀才
UID: 132087
积分:61 加为好友
威望: 0 精华: 0
主题:3 回复:23
注册时间:2019-11-06
在线时长:0.96
3#   发表于:2019-11-07 15:32:02  IP:117.190.*.*
回复第2楼
部署包
级别: 举人
UID: 131857
积分:111 加为好友
威望: 0 精华: 0
主题:4 回复:51
注册时间:2019-10-21
在线时长:1.32
4#   发表于:2019-11-07 15:32:45  IP:124.158.*.*
今天上午我把这个问题解决了
级别: 秀才
UID: 132087
积分:61 加为好友
威望: 0 精华: 0
主题:3 回复:23
注册时间:2019-11-06
在线时长:0.96
5#   发表于:2019-11-07 15:33:36  IP:117.190.*.*
回复第4楼
求教
级别: 举人
UID: 131857
积分:111 加为好友
威望: 0 精华: 0
主题:4 回复:51
注册时间:2019-10-21
在线时长:1.32
6#   发表于:2019-11-07 15:36:55  IP:124.158.*.*
只改了这个
级别: 秀才
UID: 132087
积分:61 加为好友
威望: 0 精华: 0
主题:3 回复:23
注册时间:2019-11-06
在线时长:0.96
7#   发表于:2019-11-07 15:40:52  IP:117.190.*.*
回复第6楼
我不是这样布的 我直接把root粘贴到了tomcat底下 然后改了jdbc里的数据库信息
级别: 举人
UID: 131857
积分:111 加为好友
威望: 0 精华: 0
主题:4 回复:51
注册时间:2019-10-21
在线时长:1.32
8#   发表于:2019-11-07 15:42:32  IP:124.158.*.*
我一开始和你一样,我又改成这样,好使了
级别: 论坛管理员
UID: 122721
积分:34990 加为好友
威望: 0 精华: 0
主题:0 回复:29932
注册时间:2018-05-07
在线时长:440.64
9#   发表于:2019-11-07 15:42:55  IP:117.69.*.*
您是用安装包部署的嘛?   是开源版本的?
每天告诉自己一次,“我真的很不错”。
级别: 秀才
UID: 132087
积分:61 加为好友
威望: 0 精华: 0
主题:3 回复:23
注册时间:2019-11-06
在线时长:0.96
10#   发表于:2019-11-07 15:43:26  IP:117.190.*.*
回复第9楼
买了授权
1 2 3 > >| 共3页