Questions tagged as 'spring-boot'

1
answer

I can not save form using spring boot

I'm starting to study spring boot now and trying to do a CRUD, but I'm having trouble saving my form. No error message appears, neither in the console nor in the browser. I will revert code and do not find the error, can anyone help me? My us...
asked by 20.05.2018 / 19:20
4
answers

Error executing spring security

I'm having the following error: Field authenticationManager in com.ronaldo.money.api.config.AuthorizationServerConfig required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found. A...
asked by 03.05.2018 / 22:27
1
answer

Null Exception when importing service in controller res

In the example below, I'm trying to do a RestFul Service by completely separating the @RestController, @Service, and @Repository. But I have a difficulty, because when I try to use the service inside the controller, the instance is always NULL,...
asked by 25.04.2018 / 16:49
1
answer

Spring Boot filled list has no values returned on the screen

The following method in my Controller is responsible for returning all values from a table in the database. @RequestMapping("pesquisaTaxa") public String pesquisaTaxa(@RequestParam Map<String, String> requestParams, HttpSession session,...
asked by 28.02.2018 / 18:19
2
answers

Error creating bean with name 'entityManagerFactory' defined in class path resource

Good evening, I have an application using Spring boot 1.5.10. I am trying to connect to the oracle database, but I always have the title error. Attempts: I have already returned the version of spring boot (which stopped giving the erro...
asked by 06.02.2018 / 03:56
1
answer

unmount objects in an array

I have a search method in the database that brings me the following result: NotethatinsidetheObject[4]comesanotherarraythatcontainsPeople,People,andPeople.Iwouldlikeittoreturnonlythiswayandnotinsideanotherarrayasitishappeningnow,itshouldlook...
asked by 14.01.2018 / 16:30
1
answer

Validate minimum amount of characters in textarea?

Well, I need to validate a textarea field in an application using thymeleaf, to limit the maximum amount I've already achieved, but I do not know how to validate the minimum amount.     
asked by 06.10.2017 / 23:35
1
answer

Working Flyway with PostgreSQL database

Take a look at the repository. AlgaWorks Institution Repository This project is not mine, but my project is just like this with one difference, I'm using PostgreSQL database and the SQL commands are the ones that exist below; ========...
asked by 17.11.2017 / 09:56
1
answer

Spring-boot web security, I can not tell if you are authenticating or not [closed]

I'm trying to implement spring-boot web security on my webApp, but when I enter login and password, it's simply reloading the page, and I can not understand if it's authentication failure, or if it redirects to another page it does not is correc...
asked by 17.11.2017 / 13:11
1
answer

Database Test with Spring Boot

Personally I have an error, when I run my application with the profile test, Spring Boot does not create the same database in the local profile. Any suggestion? Here's my application-local.properties file: # Hibernate logging.level.org.hibe...
asked by 17.11.2017 / 15:54