If you got an error like this:
//RMI Client Application Context is started...
ApplicationContext context = new ClassPathXmlApplicationContext("rmiClientAppContext.xml");
Error:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
Solution:
In this particular case you should include commons-logging-1.1.1.jar in your client classpath. Spring-Core depends on it.
//RMI Client Application Context is started...
ApplicationContext context = new ClassPathXmlApplicationContext("rmiClientAppContext.xml");
Error:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
Solution:
In this particular case you should include commons-logging-1.1.1.jar in your client classpath. Spring-Core depends on it.