The problem was that i was uploading the file while the server was running. This would corrupt the jar file making it not work. I had been downloading/uploading the jar while the server was running because it would not let me access the files while the server was off through the manager. I figured out you can access the files through the main file manager while the server was offline.