Questions tagged as 'spring-boot'

1
answer

Error starting application spring boot

I need help I'm trying to start the application in spring boot , dry the entire error org.thymeleaf.exceptions.TemplateInputException: Error resolving template "error", template might not exist or might not be accessible by any of the configu...
asked by 10.10.2017 / 10:24
0
answers

Error Spring boot call controller "This application has no explicit mapping for / error"

I'm having a problem because I'm learning to use the GET and POST methods using Spring Boot , but only controller I can manage to show on the screen. I am using JSP already configured no aplication.propertties . spring.mvc.v...
asked by 14.10.2017 / 06:18
0
answers

Error: Could not find or load main class com.eventoapp.EventoappApplication

I'm having this error, I can not run my application.    Error: Could not find or load main class com.eventoapp.EventoappApplication My class package com.eventoapp; import org.springframework.boot.SpringApplication; import org.spring...
asked by 19.09.2017 / 21:00
1
answer

POST JSF with Spring Boot - ViewExpiredException

When I try to submit a form I get the following error:    javax.faces.application.ViewExpiredException: /patient-form.jsf - No   saved view state could be found for the view identifier:   /patient-form.jsf     
asked by 17.09.2017 / 00:47
0
answers

Auto search (Auto complete search)

Good afternoon! I'm trying to implement an auto complete search on my system. But so far I have not achieved a satisfactory result. What I want is when the user search goes showing the result, as google does. I already tried it, I already tried...
asked by 06.09.2017 / 22:59
1
answer

Error initializing application with Spring Boot

I'm creating an application using Spring Boot with JPA. When I upload the application, the following message is displayed:    Description:   Can not determine embedded database driver class for database type NONE   Action:   If you want an em...
asked by 08.09.2017 / 02:33
1
answer

Rest Spring Server identifying a period as a regular expression

I have a Rest service with the following method: @RequestMapping(value = "/usuario/{login}", method = RequestMethod.GET) @ResponseBody public ResponseEntity<InputStreamResource> usuario(@PathVariable("login") String login, HttpSe...
asked by 20.07.2017 / 04:25
1
answer

Filter in OneToMany mapping (Spring)

I searched the internet but, I could not understand very well how I would do this using the Hibernate filters. Well, come on: I have a OneToMany: @OneToMany(mappedBy = "pedido", cascade = CascadeType.ALL) @Getter private final List<Pedid...
asked by 20.07.2017 / 02:41
1
answer

How do I redirect Exception to an error page?

How do I redirect UsernameNotFoundException to a page? if ( user == null ) { log.info( "Email " + email + " não é um ususário cadastrado." ); throw new UsernameNotFoundException( "Email " + email + " não é um ususário cadastrado." ); }...
asked by 31.07.2017 / 19:32
1
answer

Forbbiden 403 - Redirect

Displaying an error message when I receive a 403 error, I would like the error message to be defined through an HTML page I created. Do you have any way to redirect? Using AngularJS or Spring itself? I'm using AngularJS with Spring, how do I...
asked by 31.07.2017 / 21:34