on 01-30-2006 1:57 PM
Hi there,
I have created a Java-Classes-DC (JCDC) and a WebDynpro-DC (WDDC). Both DC's are local. I put JavaBean classes in the JCDC. I use this JavaBeans as model in my WDDC. The WDDC uses the public part of the JCDC for build time and deploy time. I can build both DC's with no error (i get a warning for JCDC). When i deploy the WDDC i get this error:
Unresolved dependencies found for the following SDAs:
1.: development component 'WDDC'/'vendor/'local'/'20060130144017'
dependency:
name: 'JCDC'
vendor: 'vendor'
Deployment will be aborted.
Any advice will be appreciated.
Thanks,
Matthias
Hallo Matthias,
Java DCs cannot be deployed. Consequently you have to add the sources of such a DC to a Public Part of purpose "<b>assembly</b>". The <i>Public Part Dependcy Type</i> of this DC in the embedding DC must be "Runtime". An additional Public Part for the purpose "compilation" must be added too, so that the contained jar-files are added to classpath entries of the embedder DC. See ... <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e0/020340dcf41e07e10000000a1550b0/content.htm">SAP NetWeaver Online Help - Java DC</a>and <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e6/504540d1b79523e10000000a1550b0/content.htm">Dependencies Between DC Types</a>
<b>Other Solution:</b> - <u>Embedding Jar-Files within Web Dynpro DCs</u>
Another approach for solving you problem and for simplifying life is to embed such model-jar files within a Web Dynpro DC, which is a deployable DC. In this case only one public part with purpose "compilation" must be declared.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
first deployed the used DC means your JCDC and then deploy the WDDC because it the dependencies of the component used by any component is to be resolved so the used component should be in the present in server....
Thnks,
yashpal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You will have to deploy both JCDC and WDDC. This will solve your problem.
regards,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.