主题 : 安装JEE出现以下错误!
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
1#   发表于:2011-04-20 09:58:37  IP:58.249.*.*
HTTP Status 500 - 
________________________________________
type Exception report
message 
description The server encountered an internal error () that prevented it from fulfilling this request.
exception 
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 6 in the generated java file
Only a type can be imported. com.jeecms.cms.Install resolves to a package

An error occurred at line: 31 in the jsp file: /install_setup.jsp
Install cannot be resolved
28:  String webXmlTo = "/WEB-INF/web.xml";
29:  //鍒涘缓鏁版嵁搴?
30:  if ("true".equals(isCreateDb)) {
31:  Install.createDb(dbHost, dbPort, dbName, dbUser, dbPassword);
32:  } else {
33:  Install.changeDbCharset(dbHost, dbPort, dbName, dbUser, dbPassword);
34:  }


An error occurred at line: 33 in the jsp file: /install_setup.jsp
Install cannot be resolved
30:  if ("true".equals(isCreateDb)) {
31:  Install.createDb(dbHost, dbPort, dbName, dbUser, dbPassword);
32:  } else {
33:  Install.changeDbCharset(dbHost, dbPort, dbName, dbUser, dbPassword);
34:  }
35:  //鍒涘缓琛?
36:  if ("true".equals(isCreateTable)) {


An error occurred at line: 38 in the jsp file: /install_setup.jsp
Install cannot be resolved
35:  //鍒涘缓琛?
36:  if ("true".equals(isCreateTable)) {
37:  String sqlPath = application.getRealPath(dbFileName);
38:  List<String> sqlList = Install.readSql(sqlPath);
39:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
40:  sqlList);
41:  }


An error occurred at line: 39 in the jsp file: /install_setup.jsp
Install cannot be resolved
36:  if ("true".equals(isCreateTable)) {
37:  String sqlPath = application.getRealPath(dbFileName);
38:  List<String> sqlList = Install.readSql(sqlPath);
39:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
40:  sqlList);
41:  }
42:  //鍒濆鍖栨暟鎹?


An error occurred at line: 45 in the jsp file: /install_setup.jsp
Install cannot be resolved
42:  //鍒濆鍖栨暟鎹?
43:  if ("true".equals(isInitData)) {
44:  String initPath = application.getRealPath(initFileName);
45:  List<String> initList = Install.readSql(initPath);
46:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
47:  initList);
48:  }


An error occurred at line: 39 in the jsp file: /install_setup.jsp
Install cannot be resolved
36:  if ("true".equals(isCreateTable)) {
37:  String sqlPath = application.getRealPath(dbFileName);
38:  List<String> sqlList = Install.readSql(sqlPath);
39:  Install.createTable(dbHost, dbPort, dbName, dbUser, dbPassword,
40:  sqlList);
41:  }
42:  //鍒濆鍖栨暟鎹?


An error occurred at line: 50 in the jsp file: /install_setup.jsp
Install cannot be resolved
47:  initList);
48:  }
49:  //鏇存柊閰嶇疆
50:  Install.updateConfig(dbHost, dbPort, dbName, dbUser, dbPassword,
51:  domain, cxtPath, port);
52:  //澶勭悊鏁版嵁搴撻厤缃枃浠?
53:  String dbXmlPath = application.getRealPath(dbXmlFileName);


An error occurred at line: 31 in the jsp file: /install_setup.jsp
Install cannot be resolved
28:  String webXmlTo = "/WEB-INF/web.xml";
29:  //鍒涘缓鏁版嵁搴?
30:  if ("true".equals(isCreateDb)) {
31:  Install.createDb(dbHost, dbPort, dbName, dbUser, dbPassword);
32:  } else {
33:  Install.changeDbCharset(dbHost, dbPort, dbName, dbUser, dbPassword);
34:  }


An error occurred at line: 60 in the jsp file: /install_setup.jsp
Install cannot be resolved
57:  //澶勭悊web.xml
58:  String webXmlFromPath = application.getRealPath(webXmlFrom);
59:  String webXmlToPath = application.getRealPath(webXmlTo);
60:  Install.webXml(webXmlFromPath, webXmlToPath);
61: %>
62: 
63: <table width="600" align="center"


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.
________________________________________
Apache Tomcat/6.0.14

<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 总版主
UID: 10736
积分:148470 加为好友
威望: 205 精华: 42
主题:287 回复:126194
注册时间:2010-09-08
在线时长:17.02
2#   发表于:2011-04-20 10:12:43  IP:220.4.*.*
编码错误吗?您是什么环境?
路漫漫其修远兮,吾将上下而求索!
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
3#   发表于:2011-04-20 10:22:42  IP:58.249.*.*
安装的时候,http://localhost:8080/install/install_params.jsp 点击下一步,出现这个问题。
<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
4#   发表于:2011-04-20 10:24:57  IP:58.249.*.*
编码是对的! 数据库名是root   密码为空
<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 总版主
UID: 10736
积分:148470 加为好友
威望: 205 精华: 42
主题:287 回复:126194
注册时间:2010-09-08
在线时长:17.02
5#   发表于:2011-04-20 10:29:43  IP:220.4.*.*
您是哪个版本的,看汉字就知道编码有问题呀
路漫漫其修远兮,吾将上下而求索!
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
6#   发表于:2011-04-20 10:51:32  IP:58.249.*.*
前天安装是好的,不过安装在C盘。昨天改再D盘 就出现了这个情况,数据库都是那个数据库。安装的是jeecms-3.0.2-final
<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 总版主
UID: 10736
积分:148470 加为好友
威望: 205 精华: 42
主题:287 回复:126194
注册时间:2010-09-08
在线时长:17.02
7#   发表于:2011-04-20 10:56:33  IP:220.4.*.*
是不是tomcat的路径有空格或者特殊符号?
路漫漫其修远兮,吾将上下而求索!
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
8#   发表于:2011-04-20 11:04:24  IP:58.249.*.*
JAVA_HOME
d:\Java\jdk1.6.0_10

Path
;d:\Java\jdk1.6.0_10\bin

CLASSPATH
d:\Java\jdk1.6.0_10\lib\dt.jar;d:\Java\jdk1.6.0_10\lib\tools.jar;.
<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 白丁
UID: 18349
积分:132 加为好友
威望: 0 精华: 0
主题:12 回复:38
注册时间:2011-04-13
在线时长:0
9#   发表于:2011-04-20 11:04:50  IP:58.249.*.*
这配置 已经检查过很多遍 没有错误!
<a href="http://www.web669.com/"><b>网站源码</b></a> <a href="http://www.web669.com/"><b>整站源码</b></a> <a href="http://www.web669.com/"><b>网站模板</b></a> <a href="http://www.web669.com/">www.web669.com</a>
级别: 总版主
UID: 10736
积分:148470 加为好友
威望: 205 精华: 42
主题:287 回复:126194
注册时间:2010-09-08
在线时长:17.02
10#   发表于:2011-04-20 11:06:34  IP:220.4.*.*
是不是tomcat的路径有空格或者特殊符号?

检查下
路漫漫其修远兮,吾将上下而求索!
1 2 3 4 > >| 共4页