[英]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.