• Post Reply Bookmark Topic Watch Topic
  • New Topic

Visibilty of code from classpath in websphere  RSS feed

John Norris
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to build a class(s) to implement an adapter for a web services cot. I only have the binary ear along with the necessary binary jar files to work with. I'm able to include the jars in the build path to build my jar and/or class(s).
The vendor recommends that I just put the class in the classpath. The problem I'm having is in class visibility. If I build the class into a jar and reference that jar file in the classpath then when running the code I get NoClassDefFoundError for any of the referenced classes within my class.

I know the preferred way to do this would be to include these jars/classes in the ear but since I don't have the source I'm not sure if I can insert them into the ear. Any ideas would be greatly appreciated.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!