环境是 Jdk 7.0 (1_7_0_15)
Tomcat 6.0
MySQL 5.5
按照官网的教程 一切顺利 但就是在程序安装的最后一步的时候出现了这么一个问题
我的数据库密码 帐号什么都是对了 找了半天都不知道是什么原因 求解 万分感谢
HTTP Status 500 - install failed!
--------------------------------------------------------------------------------
type Exception report
message install failed!
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: install failed!
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:71)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jeecms.jc_site' doesn't exist
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.Util.getInstance(Util.java:381)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1634)
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1553)
com.jeecms.cms.Install.updateConfig(Install.java:131)
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
赞助商广告
1000M空间100M内存java空间仅售298元免费试用
http://www.aaaidc.com
使用道具
举报 顶端
lfb100
级别: 状元
UID: 33380 打招呼
积分:50501 加为好友
威望: 21 精华: 3
主题:88 回复:30580
注册时间:2012-05-07
在线时长:15.03
2# 发表于:2013-03-02 14:53:08 IP:115.67.*.*
显示全部 只看该作者
你数据库是不是安装了两次了?怎么会Table 'jeecms.jc_site' doesn't exist
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.Util.getInstance(Util.java:381)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1634)
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1553)
com.jeecms.cms.Install.updateConfig(Install.java:131)
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
赞助商广告
1000M空间100M内存java空间仅售298元免费试用
玉不琢,不成器;人不学,不知道。——《礼记学记》
使用道具
举报 顶端
lfb100
级别: 状元
UID: 33380 打招呼
积分:50501 加为好友
威望: 21 精华: 3
主题:88 回复:30580
注册时间:2012-05-07
在线时长:15.03
3# 发表于:2013-03-02 14:53:32 IP:115.67.*.*
显示全部 只看该作者
把你数据库删除了重新安装一次
玉不琢,不成器;人不学,不知道。——《礼记学记》
使用道具
举报 顶端
lzcoco
级别: 童生
UID: 44385 打招呼
积分:15 加为好友
威望: 0 精华: 0
主题:1 回复:10
注册时间:2013-03-02
在线时长:0
4# 发表于:2013-03-02 17:25:43 IP:182.20.*.*
显示全部 只看该作者
不行 折磨到现在 还是一样的 搞不明白了 我的服务器上本来还有二个网站,都是用的MYSQL的数据库 这应该不会有影响的
补充下 记录
HTTP Status 500 - install failed!
--------------------------------------------------------------------------------
type Exception report
message install failed!
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: install failed!
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:71)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown storage engine 'InnoDB'
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
com.mysql.jdbc.Util.getInstance(Util.java:381)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2571)
com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:769)
com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:612)
com.jeecms.cms.Install.createTable(Install.java:106)
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:48)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.
--转自