Spring - Error Parameter 0 of constructor in Service required a bean of type Configuration that could not be found
问题 I followed tutorial for uploading files but I end up with the following error: Parameter 0 of constructor in nu.pk.cv.storage.FileSystemStorageService required a bean of type 'nu.pk.cv.storage.StorageProperties' that could not be found. Action: Consider defining a bean of type 'nu.pk.cv.storage.StorageProperties' in your configuration The only difference that I know that I have done is that I use @RestController instead of only @Controller And that I have my controller in another subpackage