我一直在尝试建立使用 ORDS 的连接并成功了一次,但现在当我尝试连接到 ORDS 上的数据库时收到 404 错误。
当我第一次登录http://127.0.0.1:1521/ords/sql-developer时,我收到以下消息:
该服务在该环境中被禁用 Stack Trace DisabledException [statusCode=404,reasons=[该服务在该环境中被禁用]]
这是我尝试过的:
java -Doracle.net.tns_admin=C:\Users\ip4169\Desktop\ORDS\ords -jar ords.war 验证
-> 已完成验证 Oracle REST 数据服务版本 19.4.0.r3521226。经过时间:00:00:15.700[检查]
java -Doracle.net.tns_admin=C:\Users\ip4169\Desktop\ORDS\ords -jar ords.war 独立 在此处输入图像描述-> oejs.Server:main: 已启动 @8299ms [检查]
我检查了我的 TNSORA.net 文件,发现我的数据库信息包含在其中。
这是 ORDS 错误页面:如果有人可以帮助我解决这个问题,我将不胜感激!