on 03-26-2008 1:41 PM
Hi,
I have read the threat and blog about the topic. I have the same problem...
I get the error NoClassDefFoundError.
I can't add the public part from the DC Component XXX to the J2ee Server Component Library.
In the blog is discription that I should go to J2EE Explorer Perspectiv and open the structure DC Metadata
-> DC Definition - > Useds DCs
But this folder structure doesn't exist in my J2ee Server Component Library? How cann I add the public part to my J2ee Server Component Library?
It is possible to use external .jars without a J2ee Server Component Library?
Blog:
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Thread:
Error:
java.lang.NoClassDefFoundError: org/krysalis/barcode4j/impl/AbstractBarcodeBean
....
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.xxx.BarcodeView.
(Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
Hi SAP User,
I think you have created a local J2EE Server Component.
<b>Create a J2EE Server Component DC Library.
1> Choose File=>New=>Project
2> Select Development Component=>Development Component Project
3> Choose Next
4> Select Local Development =>My Components
5> Click on Next. Enter Details
6> Choose Library under (J2EE Server Component under sap.com domain)
7> Click on Next and Finish.
Once DC Library is created you will get DC MetaData.
Under DC MetaData=>DC Definition=>Used DCs add Used DCs...
In Add Used DCs.. Add the type compilation and type assembly that you have already created that contains your jar files.
Then build and deploy. Your jar file will be deployed in your server you will not get NoClassDefFoundError.</b>
Regards,
Mithu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can make use of the steps described in this [blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4512] [original link is broken] [original link is broken] [original link is broken]; of Bala to create the External Library and add it to your DC, w/o the use of J2EE Server Component.
Hope it helps.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SAP User,
This folder structure will be available in the Development Infrastructure Perspective.
So switch to that perspective and then choose
DC Metadata-> DC Definition - > Useds DCs
Hope it helps you.
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.