主题 : JEECMS 安装提示HTTP Status 500 – Internal Server Error
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
1#   发表于:2018-07-16 17:23:43  IP:113.251.*.*
JEECMS 安装 填写完数据库后下一步提示HTTP Status 500 – Internal Server Error

HTTP Status 500 – Internal Server Error
Type Exception Report

Message install failed!

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

Exception

javax.servlet.ServletException: install failed!
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:71)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Invalid default value for 'login_time'
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
com.mysql.jdbc.Util.getInstance(Util.java:408)
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:943)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2483)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2441)
com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
com.jeecms.cms.Install.createTable(Install.java:102)
com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:48)
javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.

系统:debian
java1.8
tomcat8
mysql5.7
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
2#   发表于:2018-07-16 17:25:35  IP:113.251.*.*
安装版jeecms9.1,求解决
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
3#   发表于:2018-07-16 17:28:05  IP:115.234.*.*
你看下  你的数据库内是不是少了login_time'这个字段
每天告诉自己一次,“我真的很不错”。
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
4#   发表于:2018-07-16 17:28:15  IP:115.234.*.*
我的意思是没有默认值
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
5#   发表于:2018-07-16 17:31:04  IP:113.251.*.*
咋看的~
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
6#   发表于:2018-07-16 17:35:53  IP:113.251.*.*
怎么查看呢,不会
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
7#   发表于:2018-07-16 17:38:15  IP:115.234.*.*
看下您的数据库   等下您可能还没有创建成功数据库   您是用root包部署的吗?
每天告诉自己一次,“我真的很不错”。
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
8#   发表于:2018-07-16 17:41:10  IP:113.251.*.*
数据库可以进入啊,应该是成了
级别: 举人
UID: 79785
积分:148 加为好友
威望: 2 精华: 0
主题:9 回复:82
注册时间:2015-09-06
在线时长:0
9#   发表于:2018-07-16 17:41:51  IP:113.251.*.*
耶,我的图呢

root@RedServer:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.7.22 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| jeecmsv9           |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.00 sec)

mysql>
级别: 论坛管理员
UID: 122721
积分:57884 加为好友
威望: 2 精华: 1
主题:5 回复:50085
注册时间:2018-05-07
在线时长:0
10#   发表于:2018-07-16 17:43:31  IP:115.234.*.*
回复第9楼
每天告诉自己一次,“我真的很不错”。
1 2 3 > >| 共3页