cancel
Showing results for 
Search instead for 
Did you mean: 

Java Project in NWDI

Former Member
0 Kudos

Dear All

I've cateated a dc which type is Java in a tarck.

In the DC, I wrote some code we need and I made them to public part.

After that, I created a Web Dynpro DC in the same track.

When I try to add "Used DCs", I couldn't find the previos DC.

Is there anything I should do?

tks

Allen

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I've fixed it on my own, thank you all.

Former Member
0 Kudos

It extends another problem, so i marked as a unsolve problem.

Edited by: Allen Chou on Sep 8, 2009 6:34 PM

Former Member
0 Kudos

Allen,

In a track there may be up to 2 configurations - Dev and Cons. I assume that you have created both the DCs in the Dev configuration.

Check if you created both these DCs in the same Software Component (SC). By default, a DC can use another DC if both DCs are in the same SC.

If the DCs are in different SCs, then you need to ensure that the used SC has granted usage privileges to the using SC. You can set these privileges on the component properties editor in NWDS in the development infrastructure perspective.

- Girish

Former Member
0 Kudos

Hi Allen,

Go tot the Development Configurations perspective of your NWDS and refresh the Inactive List for your Track.

Retry adding the DC to the Used DC for Web Dynpro Project.

Regards,

Alka.

Former Member
0 Kudos

Thanks for ur reply.

I found that I made some mistakes which i didn't refresh inactive view.

Now I face another problem.

When I deploy my WD, the server shows "java.lang.NoClassDefFoundError"

The exception says it can't find some java beans in my java project.

I've created a J2EE library and add public part of the Java Project to be Used DCs.

I've deployed it to server.

My purpose is to deploy those java classes to server.

Am I doing right?

Is there anyone to tell me the right procedure?

Tks

Allen