1 Reply Latest reply on Dec 14, 2005 5:21 AM by Stephen Dougall

    Using Plain Java Jars

    Stephen Dougall Newbie

      hi,

      I have a J2SE client that is connecting to JBoss and calling some beans. I have a class, lets say SharedTask, which I want to share between the client and the server, so I have it packed up in a jar file. On the client side it's no problem , I just include the jar in my client classpath. However on the JBoss side there is a problem as when the client calls a method which uses methods from SharedTask a NoSuchMethodError is thrown. I have place the jar with SharedTask in the JBoss server\default\lib directory, but still no joy. Seems like JBoss isn't finding my class. Has anyone got any ideas?

      Thanks in advance
      Stephen