Hi I am trying to use a class from a 3rd party jar file in my MD bean. I have included it in the libraries through properties > libraries > Add External Jars. When i import the class from the package/jar WASD does not complain but when i export the EAR and port it to Websphere it throws NoClassDefFoundError. Am i trying to use an external jar the wrong way or is there something else wrong? Do i also have to make some kind of reference to the jar files from websphere, if yes how do i do that? I am using WASD5 and WAS5.0 by the way. Regards Gul [ January 14, 2004: Message edited by: pervaiz gul ]
I guess you need to add that library in Websphere Admin Console using Environmet -> Shared Libraries -> New -> (Give name & path for the library). While installing/deploying the enterprise application you need to mention the newly created Shared Library name.
posted 16 years ago
Thanks Chandra, i did that it worked.. Also had to include the library name in the server > application > libraries > New > library name.
I've never won anything before. Not even a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop