Posts by Vitória Poncio • 101 points
7 posts
-
-3
votes2
answers37
viewsQ: Bug with Bean and @Autowired using Spring
I’m doing a program for costume rental stores and I’m using Spring Boot.My mistakes are in the controller and dao. Follow the necessary controller code: @Controller public class AluguelController…
-
3
votes2
answers471
viewsA: Spring boot: Unable to find or load main class
I found my own mistake,when I went to refactor I did not rename correctly. I gave Rename directory and not Rename package. The right one is Rename package.…
-
1
votes2
answers471
viewsQ: Spring boot: Unable to find or load main class
It’s been a while since I’ve used Spring. I changed the name of the controller package and the application doesn’t want to run anymore. On the second underscored red image was costume.costumes the…
-
0
votes1
answer43
viewsQ: How to get information from a TCP server and send to the java client
The idea is this:I have a TCP server that calculates the amount of water in a water tank,when it is 250 liters should warn the client that it needs to refill. But whoever has the information that…
-
0
votes1
answer63
viewsQ: how to pass two structs per function
I have two structs, one for the student data and one for a hash table, where the collisions of the matricules go. To know if there was a precise collision of these two structs ,but dev says that…
-
2
votes1
answer2383
viewsQ: How to sort two vectors (ascending order ) into a third vector using only one loop?
My teacher posed this problem and I’m not able to sort in ascending order just by using a loop to sort. #include<stdio.h> main(){ int i,a[5]={1,4,8,9,11},b[5]={3,6,7,10,15},c[10];…
-
3
votes3
answers1548
viewsQ: Find pair and odd in variable float language C
Is there a bug in my program when I try to find the odd and odd pair of a float variable. #include<stdio.h> #include<string.h> void exe7(float vet[]){ int i; for(i=0;i<5;i++){…
casked Vitória Poncio 101