I have a very simple application that works but when i add roboguice it throws
java.lang.RuntimeException: Unable to instantiate application com.MyFirst
First of all, extending from RoboApplication
is a RoboGuice 1.x thing, you should really be using RoboGuice 2.0 (where you no longer need to do that). Now, for your exception, is your Application class really at com.MyFirstApp.MyApplication
? If not, you would need to update the name
attribute to match.