Questions tagged as 'spring'

0
answers

error when deploying security.xml to my spring project?

Good, I am wanting to integrate spring security to my project. my wev.xml is: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sche...
asked by 22.01.2018 / 22:17
1
answer

404 Whitelabel Error Page

I'm practicing with Spring JPA. I have the following code @Controller @RequestMapping("/empleados") public class EmpleadoController { @Autowired @Qualifier("empleadoRepository") private EmpleadoRepository empleadoRepository;...
asked by 21.01.2018 / 20:13
1
answer

Test fongo error in com.fasterxml.jackson.databind.JsonMappingException

I'm trying to perform a test through phon but I get the error:    com.fasterxml.jackson.databind.JsonMappingException: Can not   deserialize instance of com.formacion.pem.userProyect.User out of   START_ARRAY token at [Source:   [{"id": 1, "c...
asked by 27.12.2017 / 16:34
0
answers

Problems accessing the localhost

Hol to everyone! I recently spent the Ccleaner on the PC and when I started the application with spring I skipped the following, I have nothing with the IIS, it could be because of problems with ports or something like that? It is that for mo...
asked by 06.12.2017 / 20:43
1
answer

NullPointerException when calling a service

Hi, I'm setting up a web application with Spring and calling a service from Bean gives me a null pointer exception error. That service is at null. I do not understand why it is, any help? Bean: @ManagedBean(name = "alumnoBean") @SessionScoped...
asked by 18.11.2017 / 18:58
1
answer

Delete of an entity in DB with spring

Good afternoon, I have an information system with a DB in Mysql. The connection with her and the mapping was made with Spring. I am creating the services and I have a very important question. I put in context, I have two Ranger Entities and C...
asked by 11.11.2017 / 20:37
1
answer

How to return a view dynamically with spring boot?

How can I return a view dynamically by means of a controller in spring boot This is my index.html <html> <head> <title>prueba</title> </head> <body> <div th:replace="${contenido}">...
asked by 06.11.2017 / 18:50
1
answer

Given final block not properly padded

Good to everyone, I'm having problems in a web application in Spring that uses certificates and a CAS / SSO service to authenticate, the problem comes from the beginning. I have the outsourced properties, so I receive all the data from extern...
asked by 21.11.2017 / 11:22
1
answer

login with spring boot using jdbc

How can I authenticate in spring boot using jdbc auth .jdbcAuthentication() .dataSource(dataSource).passwordEncoder(new Md5PasswordEncoder()) .usersByUsernameQuery("select username,password,enabled from user where u...
asked by 23.10.2017 / 04:23
1
answer

org.springframework.beans.factory.UnsatisfiedDependencyException: No property a found for type -Spring

Controller @RequestMapping(value = "/login", method = RequestMethod.POST) public ResponseEntity<Object> login(HttpServletRequest httpServletRequest, @RequestParam("usser") String user, @RequestParam("password") double password) {...
asked by 30.10.2017 / 22:22