尝试将SQL Developer与Oracle数据库连接时出现ORA-12705错误

问题描述

我试图将 SQL Developer Oracle数据库连接,但是最后,单击“测试”后,一次又一次显示错误。

在将端口从“ 1521 ”更改为“ 1522 ”之后,我再次尝试了此操作,但是同一件事正在发生,我正在使用 Windows 10

Screenshot of error

我已经附上了上面的屏幕截图。

解决方法

尝试将以下行添加到%SQL_DEV_HOME%\ sqldeveloper \ bin \ sqldeveloper.conf

 destinationVC.videoSubject.subscribe(
                onNext: { [weak self] item in
                   self?.player.replaceCurrentItem(with: item)
                }
            ).disposed(by: bag)

除此之外,您还可以检查几件事:

通过在sqlplus中执行以下操作来验证oracle xe数据库设置: Thread 2 Crashed:: Dispatch queue: Background 0 [myinfo].STSVideoPlayer 0x000000010e655476 closure #1 in closure #1 in VideoViewController.prepare(for:sender:) + 134 (VideoViewController.swift:40) 1 [myinfo].STSVideoPlayer 0x000000010e655499 thunk for @escaping @callee_guaranteed () -> () + 25 2 libdispatch.dylib 0x00007fff6e6d56c4 _dispatch_call_block_and_release + 12 3 libdispatch.dylib 0x00007fff6e6d6658 _dispatch_client_callout + 8 4 libdispatch.dylib 0x00007fff6e6dbc44 _dispatch_lane_serial_drain + 597 5 libdispatch.dylib 0x00007fff6e6dc5d6 _dispatch_lane_invoke + 363 6 libdispatch.dylib 0x00007fff6e6e5c09 _dispatch_workloop_worker_thread + 596 7 libsystem_pthread.dylib 0x00007fff6e930a3d _pthread_wqthread + 290 8 libsystem_pthread.dylib 0x00007fff6e92fb77 start_wqthread + 15 该查询的结果可以是ENGLISH_AMERICA.WE8MSWIN1252)

根据您的数据库在控制面板中更改区域设置(在此示例中,可以将其更改为英语(美国))

根据您的数据库和区域设置在sql developer中更改NLS参数

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...