on 07-21-2014 11:01 AM
Hi Gurus,
I am new to KMC-CM.I have to migrate KM object which developed and deployed in NWDS 7.0 .
I have imported KM portal application into my work space and i have imported KMC SCA file also into Development infrastructure.
When i try to add that SC into My Components as dependencies, i am getting the following error(Error1) , kindly help me out to add dependencies,
In the pics, icon is different from other SC files, Whether it is Deprecated or Version dependency?
Regards,
Ragav
Hi Ragav,
Please Check this follow once.
Once you have imported KMCCM into NWDS, do as follows:
1. Right click on My Components and select Show In ->Component Properties. Now go to tab Dependies and click on 'Add' button to add KMC-CM as a dependent SC to My Components SC
2. Now right click on your Web Dynpro DC and select Development Component -> Show In -> Component Properties. Navigate to 'Dependices' tab and click on 'Add' button
3. Expand 'KMC-CM' and select 'com.sap.km.cm.service' and add it as "Design Time" and "Run Time" dependency.
4. Build the Web Dynpro DC.
still your getting error means may be some jar files like ("tckmfrwk.jar").
Regards,
Durga Rao.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Durga,
Thanks for your help.
The way you suggested i tired when i try to add dependency error occur, but still i move on and tried to build i got the following error
ERROR: Illegal dependency: Access list does not allow use of sap.com/com.sap.km.cm.service for demo.sap.com/newportalapplicationproject(MyComponents).
Build failed with errors.
Ragav
Hi Ragav,
Please refer this thread may be you can get any solution.
And check this link may be help you.
NetWeaver Development Infrastructure (NWDI) - Java Development - SCN Wiki
Regards,
Durga Rao.
Hi Durga,
I have gone through the link and managed to resolve it !!! Thanks
After correcting all my coding errors from java file, when i try to build i am getting following error,
ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:5: package com.sapportals.portal.prt.service does not exist
[javac] ERROR: import com.sapportals.portal.prt.service.IServiceConfiguration;
[javac] ERROR: ^
[javac] ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:6: package com.sapportals.portal.prt.service does not exist
[javac] ERROR: import com.sapportals.portal.prt.service.IServiceContext;
[javac] ERROR: ^
[javac] ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:11: cannot find symbol
[javac] ERROR: symbol : class IServiceContext
[javac] ERROR: location: class com.sap.netweaver.rf.wrapper.RFServiceWrapper
[javac] ERROR: private IServiceContext mm_serviceContext;
[javac] ERROR: ^
[javac] ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:17: cannot find symbol
[javac] ERROR: symbol : class IServiceContext
[javac] ERROR: location: class com.sap.netweaver.rf.wrapper.RFServiceWrapper
[javac] ERROR: public void init(IServiceContext serviceContext){
[javac] ERROR: ^
[javac] ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:31: cannot find symbol
[javac] ERROR: symbol : class IServiceConfiguration
[javac] ERROR: location: class com.sap.netweaver.rf.wrapper.RFServiceWrapper
[javac] ERROR: public void configure(IServiceConfiguration configuration){
[javac] ERROR: ^
[javac] ERROR: D:\NWDS\eclipse\Migration.jdi\LocalDevelopment\DCs\demo.sap.com\newportalapplicationproject\_comp\src.api\com\sap\netweaver\rf\wrapper\RFServiceWrapper.java:49: cannot find symbol
[javac] ERROR: symbol : class IServiceContext
[javac] ERROR: location: class com.sap.netweaver.rf.wrapper.RFServiceWrapper
[javac] ERROR: public IServiceContext getContext(){
[javac] ERROR: ^
Thanks,
Ragav
Hi Ragav,
I think some jar files are missing in your NWDS software package.try this one.
When using com.sapportals.portal.prt. Services you need to add to your build environment a dependency to prtapi.jar.
For example, in the NWDS, under the Java Build Path of the project, you have to add it as a library.
If you used this interface already in the project, and this is not a new reference, then please check whether the mapping location of the portal Jar files was changed in your NWDS configuration.
I hope this information helps.
https://scn.sap.com/thread/3218362
Regards,
Durga Rao
Maybe you have to establish SC dependency first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.