cancel
Showing results for 
Search instead for 
Did you mean: 

Using external jar with web dynpro java DC project (7.0)

former_member331989
Participant
0 Kudos

Hi,

I'm trying to use some external jar with web dynpro java DC project.

I'm adding jar file with properties->java build path->add external jars.And i execute context menu source->organize import then it finds and puts related classes in import section.

When i use dc -> build it deletes jar and generates some class missing error.

I used external library project and i add compilation and assembly item into used DC's but when dc->build  it generates same error again.

What must i do?

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

ashish_shah
Contributor
0 Kudos

Hi,

For 7.0 version , you can refer to this link :

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/194bdc4f-0901-0010-82ba-bf73af5d5...

Regards,

Ashish Shah

SandipAgarwalla
Active Contributor
0 Kudos

Cemil

Do not use the properties->java build path->add external jars approach when you deal with DCs.

You should add DC Public Part dependency approach..

I used external library project and i add compilation and assembly item into used DC's but when dc->build  it generates same error again.

Did you set the correct reference for designtime, build time, runtime?

See this blog on detailed steps

http://scn.sap.com/community/netweaver-portal/blog/2012/05/25/how-to-add-reference-to-sap-provided-j...

It is for 7.3, but should work on 7.0 DC as well.

Sandip