使用oracle11g在IDEA中使用jdbc连接数据库时,报如下错误:

解决方法:

1、在IDEA中,选择run->Edit Configurations;

2、在弹出界面中,在VM option中输入   -Duser.name=user 然后重新启动就好了。

****若没有找到VM options

 ****重启操作

File->Invalidate Caches->Just restart就好了

==================后续=======================

莫名其妙,又报错了

修改自己电脑账户名为英文,然后重启电脑,执行成功!

java.sql.SQLException: Undefined Error相关推荐

  1. Oracle Caused by: java.sql.SQLException: sql injection violation, syntax error: syntax error, expect

    参考:https://blog.csdn.net/qq_36326332/article/details/102938147 https://blog.csdn.net/fly_captain/art ...

  2. ERROR manager.SqlManager: Error reading from database: java.sql.SQLException: Streaming result set

    问题 在使用sqoop导入数据时,报如下错误: ERROR manager.SqlManager: Error reading from database: java.sql.SQLException ...

  3. Uncaught (in promise)Error: ### Error updating database. Cause :java.sql.SQLException:

    Uncaught (in promise)Error: ### Error updating database.    Cause :java.sql.SQLException:   Field 'X ...

  4. Error querying database. Cause: java.sql.SQLException:

    记录Mybatis学习过程中遇到的问题 2.由于需要将MySQL数据库配置信息写到一个properties文件中,方便以后修改.在连接的时候发生以下错误: Error querying databas ...

  5. ### Error updating database. Cause: java.sql.SQLException: Incorrect integer value: ‘**‘ for column

    类型 异常报告消息 Request processing failed; nested exception is org.apache.ibatis.exceptions.PersistenceExc ...

  6. 解决 Error querying database. Cause: java.sql.SQLException: sql injection violation....

    解决 Error querying database. Cause: java.sql.SQLException: sql injection violation- 最近在开发的时候老板的需求就是将模 ...

  7. 解决及分析:MySQL的 Error updating database. Cause: java.sql.SQLException: You can’t specify target table

    一.项目从Oracle迁移到MySQL时,报错:Error updating database. Cause: java.sql.SQLException: You can't specify tar ...

  8. 报错:Error querying database. Cause: java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘

    报错:Error querying database. Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' ...

  9. Error querying database. Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource.

    记录java Mybatis框架学习过程中遇到的问题 1.搭建第一个mybatis项目的时候发生异常: Exception in thread "main" org.apache. ...

最新文章

  1. 前后端分离必备工具:Swagger快速搞定(整合SpringBoot详细教程)
  2. windows 安装MySQL服务 zip解压程序
  3. 在win10系统中安装Visual C++ 6.0的具体方法
  4. 机器学习算法--协同过滤算法
  5. php 文件指定位置添加内容,C++_VC++在TXT文件指定位置追加内容的方法,本文实例讲述了VC++操作文本文 - phpStudy...
  6. 移动开发js库Zepto.js使用中的一些注意点
  7. select简易的二级联动
  8. 我们一起踩过的坑----react(antd)(二)
  9. 简述div标签和span标签的不同_div与span的区别是什么?
  10. js获取手机屏幕宽度
  11. java手机视频下载_使用JAVA合并哔哩哔哩手机客户端下载的视频
  12. 1005: 整数幂 Java
  13. 分清cols和rows,x与y,以及width和height的关系
  14. win7使用笔记本做wifi热点
  15. 2018年上半年UI领域主要的13个设计趋势
  16. C编译报错: implicit declaration of function xxx is invalid in C99 [-Wimplicit-function-declaration]
  17. Linux:配置tomcat
  18. LGBM函数及参数详解
  19. 大数据论文_03_BigTable(个人总结)
  20. 安装Tecplot360版

热门文章

  1. PDF文件打印不清楚怎么办?
  2. ChatGPT的前世今生
  3. 淘宝订单转化率低的原因,怎样提高店铺订单转化率,提高店铺订单转化率的小技巧
  4. 简单的网络爬虫-喜马拉雅音频爬虫
  5. PHP抓取页面的几种方式
  6. Python(x,y)下载安装及基本操作
  7. Android实现 刮刮乐效果
  8. HDU 1984 ZOJ 2987 Misspelling(模拟)
  9. Android设置Button字母大小写
  10. JavaSE学习笔记(一)基础知识