cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError in NWDS7.3

Former Member
0 Kudos

Hi Experts,

I am migrating custom developed WDJ applicatoins from NWDS7.0SP26 to NWDS7.31SP1.the UI element are migrated successfully but while clicking on botton it gives error as shown in screenshot java.lang.NoClassDefFoundError for every button.

Is it needed to change the code or missing something?

here is the procedure steps I have used:

- (NWDS 7.0 )    Open project - File / Export / Zip file

- Explode ZIP under a subdirectory under the  workspace directory of NWDS 7.3

(NWDS 7.3 )

-  File / Import / General / Existing projects into Workspace

-  select the aboce directory containing the ZIP exploded

- the project is added with a red "x" because is an older verion

- change perspective to "WEB Dynpro" Perspective

- right clic on the project imported  / Development Component / Convert Project to Development Component  --> (for location select the proposed  Local development -> MyComponents)

- choose the correct language (original)

- at the end the project appears in the list under [LocalDevelopment] NameOfTheProjec

-right click on component select migrate and follow the instruction given in migration sheet.

(I have used JEE DC to add external jar file too.)

Please help me as soon as possible.

thanks & Regards,

Priyanka

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ashvin,

I have allraedy used External DC in my application with the help of same link you have given but still I am geting the error.

Thanks & Regards,

Priyanka

Former Member
0 Kudos

Priyanka,

Please add the jar files in the lib folders of your component:

1. dist/portal-inf/lib

2. dist/portal-inf/private/lib

Regards,

Ashvin

Former Member
0 Kudos

Hi Johan,

Thanks for your reply. you have given excellent documents but we are not using Import from SLD opton in our project. so it is not in my use.Could you plz help me in another way??

Thanks & regards,

Priyanka

Former Member
0 Kudos

Hi Priyanka,

I really think that you should create an external DC.

Please see the link below about the creation on external DC:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/006a6229-b1ed-2e10-0c8c-cc5673cf2...

Here is another link that might help:

Regards,

Ashvin

Former Member
0 Kudos