Posts by Gustavo Cruz • 129 points
11 posts
-
-3
votes1
answer337
viewsQ: Error creating bean named 'springSecurityFilterChain'
I am trying to use Spring Security, but the following error is occurring: GRAVE: Exception to sending context event started for instance System class…
-
1
votes1
answer49
viewsQ: Doubt about the Controller in spring mvc
Hello. I am studying the spring mvc and I am a few questions about its functioning. One of them is on the part of the controller. When I fill out a form and request a controller method, are all the…
-
0
votes0
answers69
viewsQ: Hiding Pages (Java for Web Development)
I’m studying the Java booklet for Web Development - Caelum, but I’m struggling at one point. In chapter 9.10 HIDING OUR PAGES I have already put all my pages in the WEB-INF/jsp directory and I have…
-
4
votes1
answer101
viewsQ: Get the least significant bit of an integer in Java
I’m trying to do a bit manipulation in java, but I have a certain problem. I’m storing any number in an int and trying to get the least significant bit of it, but I don’t know how to do that. For…
-
0
votes1
answer276
viewsQ: How to call an assist function without passing the parameter through the main function
I’m trying to solve some basic Haskell problems, but I’m having a hard time. I implemented the following code: type Nome = String type Preco = Int type CodigoBarra = Int type BancoDeDados =…
haskellasked Gustavo Cruz 129 -
0
votes1
answer54
viewsQ: Problem starting Javafx application
Hello, I’m trying to create a simple application in Javafx, everything was working until suddenly started giving problem when trying to start the program. You’re making the following exception:…
-
2
votes0
answers595
viewsQ: Traffic Light Problems (Readers and Writers)
I am trying to implement the problem of readers and writers in Java, and for this I am basing myself on the method used by Tanenbaum in the book Operating Systems. With only one writer thread and…
-
1
votes1
answer1345
viewsQ: Traffic Light Problems (Producer/Consumer)
Hello! I am trying to solve the Producer/Consumer Problem using semaphores, but I am struggling. I’m using one thread for producer and one for consumer, but I think the program is initiating the…
-
2
votes1
answer84
viewsQ: Problem with AVL tree vector
Good afternoon! I am making a hash table and for this I am trying to create an AVL tree vector. The problem is that when I try to insert a value in any tree of this vector is giving the exception…
-
1
votes1
answer51
viewsQ: Jslider does not appear in Jpanel after inserting
I was trying to add a JSlider in a JPanel but he doesn’t show up. Could you tell me where I’m going wrong? import java.awt.Dimension; import javax.swing.BorderFactory; import javax.swing.JFrame;…
-
1
votes1
answer303
viewsQ: Like putting a Jscrollpane in a Jtextarea?
I’m trying to create a project where I print several sentences in one JTextArea, but for that, I need to include a JScrollPane. I looked at some examples on the internet but none is working. public…