flyzy博客
分享便宜VPS与网络优惠
搬瓦工

源码是jsp,数据库 mysql,用怎么方式搭建起来最方便

源码是jsp,数据库 mysql,用怎么方式搭建起来最方便

目前用的宝塔
搭建后部分页面正常,部分页面提示如下

HTTP状态 500 – 内部服务器错误
类型 异常报告

消息 org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (Unknown initial character set index ’45’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.); nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown initial character set index ’45’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.)

描述 服务器遇到一个意外的情况,阻止它完成请求。

例外情况

javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (Unknown initial character set index ’45’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.); nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown initial character set index ’45’ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515)
        org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)

湖北省网友说:用钞能力搭建最方便

山东省网友说:专业的事交给专业的人~

云南省网友说:这个可以有

山东省网友说:jdbc 你这是数据库的毛病吧

福建省网友说:tomcat

赞(0) 打赏
关注我们
未经允许不得转载:flyzy博客 » 源码是jsp,数据库 mysql,用怎么方式搭建起来最方便
分享到: 更多 (0)

这是一种鼓励

支付宝扫一扫打赏

微信扫一扫打赏