Once you define a Component Scan for a package, Spring would search the package and all its sub packages for components. By mentioning the parameters in the calling function, we can successfully remove the error, constructor is undefined. You put a value in the model object in your Controller. In your "main" method, you are calling "new GDXGame ". Code for addAttribute method is listed below.
nest...