Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/04/2013, 05:46
gt_int
 
Fecha de Ingreso: febrero-2013
Mensajes: 50
Antigüedad: 12 años
Puntos: 0
Respuesta: org.springframework.beans.factory.BeanCreationExce ption

Cita:
Iniciado por Fuzzylog Ver Mensaje
@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