Could not instantiate bean class [int]: No default constructor found; nested exception is java.lang.NoSuchMethodException: int.()