Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. import java.io.IOException;
  2. import com.techventus.server.voice.Voice;
  3.  
  4. public class main_WUB {
  5.  
  6. public static void main(String[] args) {
  7. // TODO Auto-generated method stub
  8.  
  9. String username = "wake.up.bot.acc";
  10. String password = "wakeupbotacc";
  11. String originNumber = #;
  12. String pavlePhone = #;
  13. String wakeupMessage = "txt from main_WUB";
  14.  
  15.  
  16. try {
  17. Voice voice = new Voice(username, password);
  18. voice.sendSMS(pavlePhone, wakeupMessage);
  19. System.out.println("IT WORKED?");
  20.  
  21. //voice.call(originNumber, pavlePhone, "1");
  22.  
  23. } catch (IOException e) {
  24. // TODO Auto-generated catch block
  25. e.printStackTrace();
  26. }
  27.  
  28. }
  29.  
  30. java main_WUB
  31.  
  32. Exception in thread "main" java.lang.NoClassDefFoundError: com/techventus/server/voice/Voice at main_WUB.main<main_WUB.java:18> ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement