It's all about the answers!

Ask a question

RQM-Selenium Integration Error: Could not find or load main class com.ibm.rqm.adapter.commandline.QMCommandLineAdapter


Rajesh Avanthi (10815138173) | asked Dec 16 '14, 5:25 a.m.
I am trying to create an adapter for RQM v4.0.3 - Selenium Integration  and I am receiving Could not find or load main class com.ibm.rqm.adapter.commandline.QMCommandLineAdapter complete error message is pasted below

I have verified below points.
1.       Java version on machine.
2.       JUnit Selenium adapter version with RQM. (Please refer screenshots for versions).
3.       Environment variable path for JAVA_Home and Path.
4.       Followed each step mentioned in the user guide(https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&sqi=2&ved=0CBwQFjAA&url=https%3A%2F%2Fwww.ibm.com%2Fdeveloperworks%2Fcommunity%2Ffiles%2Fform%2Fanonymous%2Fapi%2Flibrary%2Fa82c60c3-d3d9-4444-9f9f-63678cf12c17%2Fdocument%2F2d6c076b-1cb5-41c9-9365-22185c44bb95%2Fmedia%2FRQM_Selenium_Integration_Approach.pdf&ei=Ks6PVPrkF8-nuQTLo4HYAQ&usg=AFQjCNE_RU7qo0PT1LVeMDzxFFFcv2gybQ&bvm=bv.81828268,d.c2E)
5.       Created jars.txt file as per my framework.
6.       I was able to create and connect the adapter with same steps for couple of times(4-5) earlier however when I tried to start couple of days before I was not able to connect to the adapter.

Error Message:
C:\user\RQM_Test\RQMJUnitSeleniumAdapter>start.bat -repository https://xyz.nco.net.ap/jazz -user username_of_rqm -password password_of_rqm -adapterName RQMJUnitSeleni
umAdapter -projectArea xyz+Co+Assurance\
Launching Adapter...
 
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Error: Could not find or load main class com.ibm.rqm.adapter.commandline.QMCommandLineAdapter
The adapter did not run, exited unexpectedly, or was killed.
This can happen if java.exe was not found in the PATH,
or if java.exe is too old or not compatible (the version of JAVA required is 1.5 or later),
or Configuration File does not have write permissions,
or some other error occurred.
Please refer to the readme.txt file in the adapter package.
C:\user\RQM_Test\RQMJUnitSeleniumAdapter>

One answer



permanent link
Reshma Ratnani (1.1k1) | answered Dec 16 '14, 5:42 a.m.
JAZZ DEVELOPER
Hi Rajesh,

Was there any change done to the folder structure or permission?
This looks like the folder might not have access permission because if there is no difference or change done to Java or RQM server then this could be issue with proper permission

Comments
Rajesh Avanthi commented Dec 16 '14, 6:28 a.m.

The user is logged in as administrator on the machine and the same setup was working fine earlier.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.