Skip to Content
0
Former Member
May 09, 2007 at 09:27 AM

Public Part jar files in EAR build missing

32 Views

Hi,

I build 2 DCs - one Webdynpro one with external Resources. created Public Parts for external libs in the libraries Directory an added the Used DCs (Public Parts compile / assemble) to my webdynpro. While programming - compile - everything is fine. I

Inside the java build path (project properties) all external jars from the DC external Public Parts are references. But when I build (with warnings) deploy (with warnings), run the Application - I receive a java.lang.NoClassDefFoundError - which means, that the jar Functions are not available. Why?

here the build warning:

warnings sap.com/testwdp(MyComponents) in variant "default"

#What means variant "default" ?

Warning: No runtime information available for development component type External Library (sap.com), cannot validate deploy-time dependency.

Warning: No runtime information available for development component type External Library (sap.com), cannot validate deploy-time dependency.

#Why?????

deploy:

Unresolved dependencies found for the following SDAs:

1.: development component 'testwdp'/'sap.com'/'local'/'20070509112210'/'0'

dependency:

name: 'testext'

vendor: 'sap.com'

well, when the external jars are not added during the build process - the are not available at "deploy-time"

Any Idears?

best regards

Rainer