Issue with importing external jar file

Hi all,

I am getting following error when I try to import an external jar file to

<mypacakage>/code/jars and reloaded the package.
I re-tried by placing it in IS/lib/jars…with no use

Please advise me ASAP

Thanks
Kevin

/opt/webmethods/IntegrationServer/packages/TestWebServices/code/source/TestWebServices/sample.java:12: package lnt_ibm_registry does not exist
import lnt_ibm_registry.*;

Int_ibm_register looks like the name of the jar file, not the name of a package.

Review the javadocs that came with the jar or, better yet, sample code that calls the classes you need and review their import statements.

Mark

Mark,

Thanks for your reply…

I am able to import it if I use

com.* in shared tab of developer…but unable to invoke classes

The actual directory structure is

com/ibm/lnt/giftregistry…so I tried to use

com.ibm.lnt.giftregistry.*. It’s giving me the same error as in the above post.

Any input???

Thanks
Kevin

I got it…

I mentioned

com.*
com.ibm.lnt.giftregistry.util.*
com.ibm.lnt.giftregistry.common.*



We need to mention every folder in shared tab…

Thanks Mark

Kevin