注册

mysql适配DM报错:Caused by: dm.jdbc.driver.DMException: 第1 行附近出现错误: 无效的表或视图名[oauth_client_details]

小羊羊不讲李 2023/12/11 2653 8 已解决

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:8.1.0.49
【操作系统】:WIN10
【CPU】:8
【问题描述】*:springBoot项目之前使用的是mysql数据库,现在适配达梦数据库,引入了security框架做权限验证,启动成功,登陆时报两个错误

  1. org.springframework.security.authentication.InternalAuthenticationServiceException: PreparedStatementCallback; SQL [select client_id, CONCAT('{noop}',client_secret) as client_secret, resource_ids, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information, autoapprove from oauth_client_details where client_id = ?]; 第1 行附近出现错误:
    无效的表或视图名[oauth_client_details]; nested exception is dm.jdbc.driver.DMException: 第1 行附近出现错误:
    无效的表或视图名[oauth_client_details]

  2. 2023-12-11 15:44:41.130 ERROR [TID:N/A] 11228 --- [nio-8011-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception

java.lang.IllegalArgumentException: Invalid characters (CR/LF) in header WWW-Authenticate

回答 0
暂无回答
扫一扫
联系客服