JSPPE5025: Type `...' cannot be used here Description We provided a type (such as int or a user-defined type, e.g. created with class) where a type is syntactically not allowed. Causes Forgetting 'new' Example: 1auto pageController = Controllers.PageController(); In the above code, we forgot to instantiate the class Controllers.PageController (a class is a "type") using the new keyword. In order to fix this, we just add new before Controllers.PageController. Fix: 1auto pageController = new Controllers.PageController(); See Also new class interface enum Share HTML | BBCode | Direct Link