主题 : linux 下tomcat 不识别 首页.html
级别: 秀才
UID: 44255
积分:98 加为好友
威望: 0 精华: 0
主题:11 回复:33
注册时间:2013-02-27
在线时长:0.01
1#   发表于:2013-07-10 17:13:01  IP:218.136.*.*
我在windows测试环境下,系统使用正常,但是转入suse测试环境下,打开后提示找不到首页.html,这是不是不识别的原因,该怎么处理?
级别: 秀才
UID: 44255
积分:98 加为好友
威望: 0 精华: 0
主题:11 回复:33
注册时间:2013-02-27
在线时长:0.01
2#   发表于:2013-07-10 17:19:04  IP:218.136.*.*
HTTP Status 500 - Request processing failed; nested exception is org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/www/red/index/首页.html]; nested exception is java.io.FileNotFoundException: Template /WEB-INF/t/cms/www/red/index/首页.html not found.

type Exception report

message Request processing failed; nested exception is org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/www/red/index/首页.html]; nested exception is java.io.FileNotFoundException: Template /WEB-INF/t/cms/www/red/index/首页.html not found.

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.context.ApplicationContextException: Could not load FreeMarker template for URL [/WEB-INF/t/cms/www/red/index/首页.html]; nested exception is java.io.FileNotFoundException: Template /WEB-INF/t/cms/www/red/index/首页.html not found.
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)
root cause
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
3#   发表于:2013-07-10 17:22:05  IP:111.78.*.*
linux下识别需要把编码格式改成utf-8和吧中文名改成英文的
功成由勤,业精于勤。
级别: 秀才
UID: 52005
积分:73 加为好友
威望: 0 精华: 0
主题:5 回复:53
注册时间:2013-09-10
在线时长:0
4#   发表于:2013-10-15 09:35:06  IP:222.177.*.*
请问编码格式如何该呢?
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
5#   发表于:2013-10-15 09:36:16  IP:111.81.*.*
编码格式你就你模板理可以改呀
功成由勤,业精于勤。
级别: 童生
UID: 55108
积分:29 加为好友
威望: 0 精华: 0
主题:1 回复:13
注册时间:2013-11-26
在线时长:0
6#   发表于:2013-11-30 13:59:14  IP:59.50.*.*
linux下识别需要把编码格式改成utf-8和吧中文名改成英文的

中文名改成英文如何改呀?
级别: 总版主
UID: 10736
积分:148366 加为好友
威望: 205 精华: 42
主题:287 回复:126119
注册时间:2010-09-08
在线时长:15.11
7#   发表于:2013-12-01 20:43:31  IP:182.237.*.*
路漫漫其修远兮,吾将上下而求索!
1 共1页