title: java.lang.NoClassDefFoundError for referincing projects
body: <p>i have 2 project in eclipse. one having the mailn method referring the other without a main method.  after adding the reference i am getting the error java.lang.NoClassDefFoundError:Exception in thread "main" </p>