Quote Originariamente inviata da fermat Visualizza il messaggio
required a bean of type 'com.mp.springtest.service.StorageService' that could not be found.

codice:
package com.mp.springtest.service;

import org.springframework.web.multipart.MultipartFile;

public interface StorageService {

    void init();

    void store(MultipartFile file);
}
Se vuoi "astrarre" i service mettendo in mezzo una interfaccia, va bene, specialmente nell'ottica di unit-testing. Ma poi ovviamente ci vuole una implementazione che abbia @Service altrimenti come dice l'errore "a bean of type '***' that could not be found"