Posts by Rafael Silva • 34 points
7 posts
-
-3
votes1
answer51
viewsA: How can I get this code to display the first 100 even numbers not multiples of 10?
try as follows: #include <stdio.h> #include <conio.h> int main () { int vezes = 0; for(int count=0; vezes <= 100; count = count+2) { if(count%10 != 0) { //não multiplo de 10 printf…
-
-2
votes1
answer76
viewsQ: Error: Unable to access jarfile
I’ve been trying to deploy my application to Heroku for weeks and I always get errors. i had a dynos error, I created a Procfile file with the following content: web: java -Dserver.port=$PORT…
-
-1
votes2
answers187
viewsA: Nullpointerexception JPA with springboot
Missing @Autowired on Clienteservice: @Service public class AtualizacaoService { @Autowired private AtualizacaoRepository atualizacaoRep; @Autowired private ClienteService clienteServ;…
-
1
votes1
answer408
viewsA: Error passing a Thymeleaf object to the Spring Boot controller (post)
<option th:each="cliente : ${clientes}" th:value="${cliente}" th:text="${cliente.nome}">Cliente</option> at this point you are setting th:value with the client object, however Thymeleaf…
-
-1
votes1
answer206
viewsQ: java.lang.Classcastexception: class java.lang.Integer cannot be cast to class java.lang.Void
I am trying to perform an UPDATE in the User table, but when doing Ubmit error occurs. I’m having a hard time understanding what the mistake is about, could you help me? below is my code and the…
-
0
votes1
answer194
viewsA: Spring-Security does not work with custom login page
Problem solved with help of the documentation below…
spring-securityanswered Rafael Silva 34 -
0
votes1
answer194
viewsQ: Spring-Security does not work with custom login page
I’m starting in Spring Security (I’m actually new to Spring in general kkk) and I’ve been having a problem for a few days now. First I did test with the default login screen of Spring Security, put…
spring-securityasked Rafael Silva 34