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)

用钞能力搭建最方便
专业的事交给专业的人~

c7r1st 发表于 2022-3-11 10:14
用钞能力搭建最方便

这个可以有

jdbc 你这是数据库的毛病吧