0

I am trying to use IBM's Java API which is generated by MDM Workbench. I am running the code in a Java EE environment with Eclipse. I am getting a NoClassDefFoundError for the class MasterDataService which Eclipse tells me is in madclient.jar. All the solutions to the problem I have found online say I need to make sure the class is in my build path, but madclient.jar is listed under the Libraries tab in the Java Build Path dialog box for my web project which I thought meant it is in the build path. How do I get the MasterDataService class in the build path? Any help would be appreciated!

ponder275
  • 903
  • 2
  • 12
  • 33
  • How are you running your code? Directly in Eclipse or from a war/ear file? – Andreas Aug 12 '16 at 22:34
  • The code is running on a Websphere 7.0 server in Rad 8.5 and it is called from a jsp page with Struts2 and Tiles (I hope that answers your question). If I run the code inside of Rad with the Run->Debug As->Java Application I don't get the ClassNotFoundException. – ponder275 Aug 14 '16 at 20:14
  • I had to copy the madclient.jar file directly into the WEB-INF/lib. Using the Deployment Assembly did not work for me. – ponder275 Aug 15 '16 at 16:37

0 Answers0