MyEclipse连接数据库异常解决

来源:互联网 发布:蓝鸥unity3d培训多少钱 编辑:程序博客网 时间:2024/05/01 07:41

        用PLSQL连接Oracle10g正常,但在用MyEclipse(6.5)的Database Explorer连接时就出现:
  java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified

        
  解决方法:只需在MyEclipse/eclipse目录下找到eclipse.ini文件,把Duser.language=en 改成 Duser.language=zh,
  就行了,然后一定要重启MyEclipse!切记要重启MyEclipse!