主题 : 从官网上下载的源码不能运行。
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
1#   发表于:2019-11-19 16:26:00  IP:182.179.*.*
具体报错信息见附件。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
2#   发表于:2019-11-19 16:28:51  IP:117.141.*.*
您运行的换机和源码部署的方式是按说明介绍走的嘛?
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
3#   发表于:2019-11-19 16:29:57  IP:182.179.*.*
回复第2楼
就的,完全按照操作文档上走的。部署了2次都还是不行,还是相同的错误。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2019-11-19 16:32:00  IP:117.141.*.*
您先和我说下您的环境吧
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
5#   发表于:2019-11-19 16:37:30  IP:182.179.*.*
回复第4楼
工具idea 
jdk:1.8 .0_171 
maven:3.0.5  
tomcat用的工程自带的 
mysql*.57
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
6#   发表于:2019-11-19 16:45:30  IP:182.179.*.*
回复第5楼
启动报错信息如下:
Unable to start web server; nested exception is org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:157)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:137)
at com.jeecms.front.CmsFrontApplication.main(CmsFrontApplication.java:64)
Caused by: org.springframework.context.ApplicationContextException: Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.getWebServerFactory(ServletWebServerApplicationContext.java:206)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:180)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:154)
... 7 common frames omitted

Process finished with exit code 1
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
7#   发表于:2019-11-19 16:52:34  IP:117.141.*.*
您那边能用ecplise部署下吗?
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
8#   发表于:2019-11-19 17:43:25  IP:182.179.*.*
回复第7楼
idea貌似比eclipse好用一些吧。这个部署还和开发环境有关系?
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
9#   发表于:2019-11-19 17:49:57  IP:117.141.*.*
idea要部署内嵌的tomcat   
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 132270
积分:132 加为好友
威望: 0 精华: 0
主题:10 回复:44
注册时间:2019-11-19
在线时长:0
10#   发表于:2019-11-19 18:22:19  IP:182.179.*.*
Template not found for name "/WEB-INF/t/cms/www/default/common/page_not_found.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="C:\Users\Administrator\AppData\Local\Temp\tomcat-docbase.6144823987593867996.8080", canonicalBasePath="C:\Users\Administrator\AppData\Local\Temp\tomcat-docbase.6144823987593867996.8080\"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
at freemarker.template.Configuration.getTemplate(Configuration.java:2797)
at freemarker.template.Configuration.getTemplate(Configuration.java:2599)
at com.jeecms.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:110)
at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:165)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:315)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:981)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:873)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:858)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:185)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.jeecms.common.web.filter.HeaderCorsFilter.doFilter(HeaderCorsFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
1 2 > >| 共2页