ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  SMS-Powered Applications
Subject:   running the smsdemo sample app
Date:   2009-09-10 23:06:09
From:   frusher
In the main() method written in the class SMSDemo am getting an error that says..

" addShutdownHook(java.lang.thread) in java.thread.Runtime cannot be applied to net.nighttale.smsdemo.Hook ".

surely i cant figure out whats the problem but well with your support i ll get a solution.any help to me will be of great value.