Cita:
Iniciado por Fuzzylog
@Service("usuarioService")
public class UsuarioServiceImpl implements UsuarioService{
@Autowired
private UsuarioDAO usuarioDAO;
@Transactional
public void addUsuario(Usuario usuario) {
usuarioDAO.addUsuario(usuario);
}
}
En primer lugar darte las gracias por tu ayuda, pero aún con lo que me has puesto me sigue dando fallo:
SEVERE: StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'usuarioController': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Could not autowire field: private app.service.UsuarioService app.view.UsuarioController.usuarioService; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No unique bean of type [app.service.UsuarioService] is defined: Unsatisfied dependency of type [interface app.service.UsuarioService]: expected at least 1 matching bean
Y también este:
SEVERE: El Servlet /SpringExample lanzó excepción de load()
org.springframework.beans.factory.NoSuchBeanDefini tionException: No unique bean of type [app.service.UsuarioService] is defined: Unsatisfied dependency of type [interface app.service.UsuarioService]: expected at least 1 matching bean