on 11-06-2007 3:16 PM
Hi All,
I have written a WD Development Component.. in which a user will upload a document to KM.. Simple!
I have given references to all the jar files..
When i try to project (right click) --> Development Component --> Build .. all the references to the jar files are gone....
The following is the message i get in <b>General User Output</b> screen:::
Nov 6, 2007 3:37:41 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: testwd7: Build failed for sap.com/testwd7(MyComponents) in variant "default": The Build terminated with errors
------------------------------------- Build log ------------------------------------------------------
Development Component Build (2007-11-06 15:37:37)
Component name: testwd7
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: kk12345@LPHAG-9987
DC root folder: C:Documents and Settingskk12345.dtcLocalDevelopmentDCssap.comtestwd7_comp
DC type: Web Dynpro
Host: LPHAG-9987
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
validating dependency to public part "default" of DC "sap.com/tc/cmi"
validating dependency to public part "default" of DC "sap.com/tc/ddic/ddicruntime"
validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
validating dependency to public part "default" of DC "sap.com/tc/wd/webdynpro"
validating dependency to public part "default" of DC "sap.com/tc/logging"
validating dependency to public part "default" of DC "sap.com/tc/wdp/metamodel/content"
validating dependency to public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
validating dependency to public part "default" of DC "sap.com/com.sap.aii.util.misc"
validating dependency to public part "default" of DC "sap.com/com.sap.exception"
validating dependency to public part "default" of DC "sap.com/com.sap.mw.jco"
validating dependency to used DC "sap.com/tc/cmi"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/webDynpro
starting build plugin from : C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_BUILDTDCssap.comtcbibpwebDynpro_compgendefaultpublicwebDynpro
Build Plugin 'WebdynproPlugin', Version 7.00 SP 11 (645_VAL_REL, built on 2007-01-06 18:00:53 CET, CL51454)
development component: testwd7 (sap.com)
software component: MyComponents (demo.sap.com)
location: local
type: Web Dynpro
build variant: default
source location: kk12345@LPHAG-9987
output location: C:Documents and Settingskk12345.dtcLocalDevelopmentDCssap.comtestwd7_compgendefault
plugin start time: 2007-11-06 15:37:37 GMT+01:00 (CET)
Java VM: Java HotSpot(TM) Client VM, 1.4.2_14-b05 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Source folder "META-INF" exists but is empty and will be ignored.
Checking path lengths for sources
Path length checks finished in 0.01 seconds
Preparing data context..
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comtccmi_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comtcddicddicruntime_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comtcddicmetamodelcontent_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP-JEEDCssap.comtcwdwebdynpro_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP-JEEDCssap.comtclogging_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comtcwdpmetamodelcontent_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comcom.sap.aii.proxy.framework_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP_JTECHSDCssap.comcom.sap.aii.util.misc_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP-JEEDCssap.comcom.sap.exception_compgendefaultpublicdefault, using legacy mode.
No public part descriptor found in C:Program FilesSAPIDEIDE70eclipsepluginscom.sap.tc.ap_2.0.0compSAP-JEEDCssap.comcom.sap.mw.jco_compgendefaultpublicdefault, using legacy mode.
No 'default' JDK defined, will use running VM.
Data context prepared in 0.141 seconds
In the Tasks screen: i get this msg (though i give the reference to <i>com.sap.security.api.jar</i>),
The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project.
This compilation unit indirectly references the missing type com.sap.security.api.IUser (typically some required class file is referencing a type outside the classpath)
I am on NWDS 7.0.11 & j2sdk1.4.2_14.
Can any1 plz help me??
Thanks!!!
KK.
Message was edited by:
The Beginner
Hi
you can add jar file to JavaBuildPath
put your java file in the following path
C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP-JEE\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java
and add this jar as ExternalJar in JavaBuildPath .. then try to build
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Direct addition of jars to java build path will create this problem. You've to use the External library DC for it. Refer <a href="http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm">Using External Libraries for Development</a> for more details.
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.