简体   繁体   English

db-fit-无法为Connect [4]调用构造函数

[英]db-fit- Could not invoke constructor for Connect[4]

Here is my code: 这是我的代码:

!***< Hidden

!define TEST_SYSTEM {fit}
!path   C:\Users\c008854\workspace\MQValidator\build\libs\*.jar
!path   C:\Progra~1\dbfit-complete-3.2.0\lib\*
|import     |
|com.connect|
*!


|Divisionp                      |
|numerator|denominator|quotient?|
|10       |2          |6.0      |
|12.6     |3          |4.2      |
|22       |7          |~=3.14   |
|9        |3          |<5       |
|11       |2          |4<_<6    |
|100      |4          |33       |

!|dbfit.OracleTest|


!|Connect|xxx.xxx.xxx.xxx.com:1522|xxxuser|xxxpass|xxxname|

However I get the following error 但是我收到以下错误

Connect Could not invoke constructor for Connect[4] 

I looked at the following, but it didn't solve my problem. 我看了以下内容,但并没有解决我的问题。

DBFit - Could not invoke constructor for Connect[4] DBFit-无法为Connect [4]调用构造函数

Instead I got another error saying: 相反,我收到另一个错误消息:

Connect Could not invoke constructor for DatabaseEnvironment

What is the reason for the error that is in the title? 标题错误的原因是什么?

It means the Connect initialisation (constructor) failed, either due to invalid credentials or other problems. 这意味着由于无效的凭据或其他问题, Connect初始化(构造函数)失败。
You should look at the Java logs to see what was the exact reason. 您应该查看Java日志以了解确切原因。

Put the line !|dbfit.OracleTest| 将行!|dbfit.OracleTest| as the first line on the page. 作为页面的第一行。 This lets the DB Fit fixture control the entire page, and recognize commands like !|Connect|... 这使DB Fit固定装置可以控制整个页面,并识别!|Connect|...类的命令!|Connect|...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 django.db.utils.DatabaseError:ORA-12154:TNS:无法解析指定的连接标识符 - django.db.utils.DatabaseError: ORA-12154: TNS:could not resolve the connect identifier specified 测试数据库链接-ORA-12154:TNS:无法解析指定的连接标识符 - Testing DB Link - ORA-12154: TNS:could not resolve the connect identifier specified IO 错误:将 oracle DB 作为 docker 容器运行并尝试通过 Tomcat 连接时,网络适配器无法建立连接 - IO Error: The Network Adapter could not establish the connection when running oracle DB as docker container and trying to connect via Tomcat 无法连接到Oracle DB,因为java.sql.SQLException而出现错误:Io异常:网络适配器无法建立连接 - Not able to connect to Oracle DB getting error as java.sql.SQLException: Io exception: The Network Adapter could not establish the connection 在HSQL DB中连接 - Connect By in HSQL DB 使用Java连接到Oracle DB - Connect to Oracle DB with Java 为什么我可以从64位Forms Server连接到Oracle 10g DB 32位但不能连接到11g DB 64位? - Why could happen that I can connect to Oracle 10g DB 32 bits but not to 11g DB 64 bits from a 64 bits Forms Server? 当我尝试从JSP建立与DB的连接时,出现错误“ TNS:无法解析指定的连接标识符” - When i am trying to establish the connection to DB from JSP getting the error “TNS:could not resolve the connect identifier specified” 先前为DB2连接 - Connect by prior for DB2 将 NodeJ 连接到 Oracle 数据库 - Connect NodeJs to Oracle DB
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM