Posts by Vítor Marçal • 172 points
5 posts
-
1
votes1
answer114
viewsA: org.springframework.Beans.factory.Beancreationexception: ERROR
Write down the class LoginRepository with @Repository, delete the delete method. Use the delete method: loginDAO.deleteById(id). It will already be implemented by the library.…
-
0
votes1
answer592
viewsA: Generate a PDF page using Java on the back and angular on the front
You can do this with Itext and Thymeleaf. In your controller you will receive one HttpServletResponse responsible for the response stream of your PDF. In the class that will do the processing you…
-
0
votes3
answers91
viewsA: Registration error "Does not recognize the property"
Remember to follow the Javabeans convention. If your bean has a book property, most frameworks will look for a getLivro and setLivro method to retrieve and write data to this property. Swap Book in…
-
0
votes1
answer186
viewsQ: Bigdecimal - set to null by form when input is empty
I have a form (jsf/primefaces) where a value of the kind BigDecimal, can be submitted without value. In this case, its value should be null. However when set is as 0. There is an argument that is…
-
4
votes1
answer326
viewsQ: Copy and write image launches java.lang.Illegalargumentexception: image == null!
I created an algorithm to traverse a directory tree and mirror its contents. The exception is when the program enters a directory with 400 images. It copies the images until it reaches an image…
javaasked Vítor Marçal 172