主题 : idea中启动jeecms是否需要同时启动jeecms-front和jeecms-admin
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
1#   发表于:2019-10-24 09:51:19  IP:27.252.*.*
idea中启动jeecms是否需要同时启动jeecms-front和jeecms-admin才能进入登录页成功访问吗
级别: 论坛管理员
UID: 122721
积分:39785 加为好友
威望: 1 精华: 0
主题:1 回复:34457
注册时间:2018-05-07
在线时长:30.99
2#   发表于:2019-10-24 09:52:37  IP:117.141.*.*
您好   只需要启动jeecms-front中的哪个方法就可以的
每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
3#   发表于:2019-10-24 10:05:39  IP:27.252.*.*
我启动jeecms-front成功了,但还是访问不了,进入不了登录页 

2019-10-24 09:56:47.814 [main] INFO  o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]  
2019-10-24 09:56:47.814 [main] INFO  o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]  
2019-10-24 09:56:47.836 [main] INFO  o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Detected ResponseBodyAdvice implementation in jsonFilterResponseBodyAdvice  
2019-10-24 09:56:47.836 [main] INFO  o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Detected ResponseBodyAdvice implementation in logResponseBodyAdvice  
2019-10-24 09:56:47.836 [main] INFO  o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Detected @ExceptionHandler methods in globalExceptionHandler  
2019-10-24 09:56:47.842 [main] INFO  o.s.w.servlet.view.freemarker.FreeMarkerConfigurer - ClassTemplateLoader for Spring macros added to FreeMarker configuration  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now, after delay of 2 seconds  
2019-10-24 09:56:47.869 [main] INFO  org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'cmsAdminDispatcherServlet': initialization completed in 1433 ms  
2019-10-24 09:56:47.869 [main] INFO  o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 8080 (http) with context path ''  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore - Freed 0 triggers from 'acquired' / 'blocked' state.  
2019-10-24 09:56:47.869 [main] INFO  com.jeecms.front.CmsFrontApplication - Started CmsFrontApplication in 16.063 seconds (JVM running for 16.647)  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore - Recovering 0 jobs that were in-progress at the time of the last shut-down.  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore - Recovery complete.  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore - Removed 0 'complete' triggers.  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  o.s.scheduling.quartz.LocalDataSourceJobStore - Removed 0 stale fired job entries.  
2019-10-24 09:56:47.869 [Quartz Scheduler [schedulerFactoryBean]] INFO  org.quartz.core.QuartzScheduler - Scheduler schedulerFactoryBean_$_NON_CLUSTERED started. 
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
4#   发表于:2019-10-24 10:07:43  IP:27.252.*.*
访问包如下错误,请版主看下什么原因
HTTP Status 500 – Internal Server Error

Type Exception Report

Message Template not found for name "/WEB-INF/t/cms/www/default/index/index.html".

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

freemarker.template.TemplateNotFoundException: Template not found for name "/WEB-INF/t/cms/www/default/index/index.html".
The name was interpreted by this TemplateLoader: MultiTemplateLoader(loader1 = FileTemplateLoader(baseDir="C:\Users\Administrator\AppData\Local\Temp\tomcat-docbase.4203257023310451850.8080", canonicalBasePath="C:\Users\Administrator\AppData\Local\Temp\tomcat-docbase.4203257023310451850.8080\"), loader2 = ClassTemplateLoader(resourceLoaderClass=org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer, basePackagePath="" /* relatively to resourceLoaderClass pkg */)).
freemarker.template.Configuration.getTemplate(Configuration.java:2797)
freemarker.template.Configuration.getTemplate(Configuration.java:2599)
com.jeecms.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:113)
org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:165)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:315)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1325)
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1069)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1008)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:981)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:873)
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:858)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:185)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
com.jeecms.common.web.filter.HeaderCorsFilter.doFilter(HeaderCorsFilter.java:63)
com.jeecms.common.web.filter.XssFilter.doFilter(XssFilter.java:40)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:150)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
com.jeecms.component.AuthenticationTokenFilter.doFilter(AuthenticationTokenFilter.java:52)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Note The full stack trace of the root cause is available in the server logs.

Apache Tomcat/8.5.37
级别: 论坛管理员
UID: 122721
积分:39785 加为好友
威望: 1 精华: 0
主题:1 回复:34457
注册时间:2018-05-07
在线时长:30.99
5#   发表于:2019-10-24 10:15:28  IP:117.141.*.*
您那边是授权版本的还是开源版本的?
每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
6#   发表于:2019-10-24 10:17:05  IP:27.252.*.*
开源版本
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
7#   发表于:2019-10-24 10:19:14  IP:27.252.*.*
先使用下,如果可以可以考虑购买授权版
级别: 论坛管理员
UID: 122721
积分:39785 加为好友
威望: 1 精华: 0
主题:1 回复:34457
注册时间:2018-05-07
在线时长:30.99
8#   发表于:2019-10-24 10:22:24  IP:117.141.*.*
我看您目前的提示是找不到/WEB-INF/t/cms/www/default/index/index.html这个模板文件   您看下您的项目中有没有jeecms这个文件夹
每天告诉自己一次,“我真的很不错”。
级别: 贡士
UID: 131754
积分:405 加为好友
威望: 2 精华: 0
主题:19 回复:204
注册时间:2019-10-14
在线时长:0
9#   发表于:2019-10-24 10:26:47  IP:27.252.*.*
整个文件夹及文件都是有的
级别: 论坛管理员
UID: 122721
积分:39785 加为好友
威望: 1 精华: 0
主题:1 回复:34457
注册时间:2018-05-07
在线时长:30.99
10#   发表于:2019-10-24 10:28:01  IP:117.141.*.*
好的   我看下还有没有其他的原因可能会出现这样的问题的   您稍等下
每天告诉自己一次,“我真的很不错”。
1 2 3 4 > >| 共4页