Parameter 0 of constructor in ... required a bean of type... that could not be found
Solution 1:
First of all i do not know if your StorageProperties is a spring component or just a simple java class! I am going to suppose that it is a spring component :
@Component
public class StorageProperties {
...
}
In the FileSystemStorageService, you replace the constructor by a postConstruct method :
@Service
public class FileSystemStorageService implements StorageService {
private Path rootLocation;
@Autowired
StorageProperties properties;
@PostConstruct
public void FileSystemStorageService() {
this.rootLocation = Paths.get(properties.getLocation());
....
}