Questions tagged as 'spring'

1
answer

No qualifying bean of type found for dependency

I looked in Stackoverflow and Stackoverflow in Portuguese but nothing guaranteed the solution to the problem. I have passed several times for this problem but at the moment I can not find the solution, it follows:    Caused by: org.springfram...
asked by 26.02.2016 / 14:59
1
answer

JSTL adding null option within select element

I construct a <tr> line using AngularJS and JSTL, and within that line I have a select element in which it is run using <c:forEach> on an enumerator to fill it when the user clicks to insert a new line <td&g...
asked by 28.10.2015 / 13:46
0
answers

Instability retrieving updated objects list

I'm facing problems with Hibernate that seems to be related to the cache object. I have an entity, let's call it A, with a list attribute mapped with @OneToMany (cascade = CascadeType.ALL, mappedBy = "atributo") . The objects in the lis...
asked by 19.11.2014 / 18:04
2
answers

Unparseable date: "2017-10-30T02: 00: 00.000Z"

I'm setting up a record where I pass a date and, upon saving, is showing this error java.text.ParseException: Unparseable date: "2017-10-30T02:00:00.000Z" at java.text.DateFormat.parse(Unknown Source) ~[na:1.8.0_144] at controller.saud...
asked by 29.11.2017 / 20:02
2
answers

Client Rest in Java receiving a LocalDate

I'm doing a test client in java. My workbook class looks like this: public class Livro { private Long id; private String nome; @JsonFormat(shape = JsonFormat.Shape.STRING,pattern="dd/MM/yyyy") private LocalDate publicacao;...
asked by 06.03.2017 / 00:28
1
answer

CSS and JS are not being applied to the project in Spring MVC (config via java)

I'm a beginner with SpringMVC and I'm learning through Spring MVC (Master the main Java web framework, by Alberto Souza, home code). Before starting with Spring, I created a Maven project and implemented the frontend and the persistence part...
asked by 01.06.2016 / 06:15
1
answer

Web page optimization with Java [closed]

What should I look for to optimize performace on the front end, to do css, js etc minimization. keep the head and only change the body? Using Java and Spring MVC, or, with Play and Sparks for example.     
asked by 19.07.2016 / 19:42
1
answer

Design patterns in Spring Boot projects

In the last 12 months I've worked and studied to learn how to create REST APIs with Spring boot, before that I worked with php MVC programming to create web systems and now in my "migration" to Java using Spring I'm having doubts / Difficulty to...
asked by 20.11.2018 / 20:55
1
answer

Treating null pointer exception

I'm getting a json object from the screen in my back end like this: { "pessoa": { "nome": "aa", "nomeSocial": "aa", "tipoPessoa": "F", "nomePai":"", "dataNascimento": "15/06/1983", "nomeMae":...
asked by 30.11.2017 / 12:43
3
answers

HTTP status 500 internal server error

I have a problem in my web application spring boot compiles and starts the server, however when starting localhost:8080/buscar the following error appears: Classcontroller:packagecom.web.app.Bresource;importjava.util.ArrayList;importj...
asked by 08.10.2017 / 09:42