当我们使用皕杰报表配置配置数据源时,出现下面这种错误

连接数据库失败,请检查数据源配置(The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.)。

解决方法

服务器时区值无法辨认或表示多个时区 如果你想使用时区支持 你必须通过服务器时区配置属性来配置服务器或JDBC驱动从而使用更具体的时区值,
在url后面加?serverTimezone=UTC。


当我们配置数据源时,其他都没问题一直报以下错误

皕杰报表之数据源报错_数据源

解决方法

未在皕杰报表中添加数据库驱动,在窗口——首选项——类加载设置里面添加数据库驱动。