Getting "Unresolved Requirement: Require-Bundle: com.ibm.team.scm.client" when I run repotools-ccm.bat in 7.0.2 server
I am developing a web service, but when I am trying to deploy on server it is not happening. When checked on repotools-ccm.bat I am getting "Unresolved Requirement: Require-Bundle: com.ibm.team.scm.client"
following are the dependencies that I have added:
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Import-Package: com.ibm.team.foundation.common
Require-Bundle: com.ibm.team.repository.service,
com.ibm.team.filesystem.common,
org.apache.http.client,
org.apache.http,
javax.servlet,
com.ibm.team.repository.common,
com.ibm.team.scm.common
|
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Sep 13 '22, 8:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I do not understand why you would deploy a web service on a Jazz Server, not sure if you mean Web Service.
Anyway, the Jazz Server contain and ship Server Services and Common Services. They usually have names such as com.ibm.team..service and com.ibm.team..common .
Jazz Servers do NOT host any libraries that are for the client side such as com.ibm.team.scm.client or in general com.ibm.team.*.client. If you have dependencies to such classes, the deployment will fail as you show.
This is an easy situation to get into, because the EWM server SDK ships the EWM client SDK as well and on Jetty, you will not see the error, because the client SDK is available to the test server. This has happened to me too already.
Comments
Pushpa Gangadharaiah
commented Sep 13 '22, 12:06 p.m.
Yes I understood, however I don't have any dependencies to client classes. I had done this mistake but corrected it. The functionality works fine in localhost:9443, but on repotools-ccm.bat finding this error. Well, then I am out of answers based on the information given. |
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.