Koblížkáč
Explore posts from serversJCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 11/17/2024 in #java-help
Spring sessions with Redis
Hi, I have these 2 endpoints:
but when i try the second one after the first one, it always returns false. why?
auth.isAuthenticated()
is true when debugged4 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 8/15/2024 in #java-help
Adding post and then fetching doesn't work in spring
62 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 8/8/2024 in #java-help
JavaParser help
Does anyone know how to return the index of character starting a token?
7 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 8/4/2024 in #java-help
Funny thing happening in JavaFX
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/30/2024 in #java-help
How to make spring boot @Value fields inject the values from properties?
31 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/30/2024 in #java-help
Drawing SVG paths in javafx css
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/18/2024 in #java-help
Mocking fails for some reason
userService.findUserById(1L) fails and returns empty optional, any idea why?
142 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/17/2024 in #java-help
Failing test under misterious circumstances
https://github.com/KoblizekXD/notecz-backend/blob/4a70434b5c139b2d6bf5c6953fbf49a92cebded5/src/test/java/lol/koblizek/notecz/api/user/UserServiceTests.java#L49
this test seems to be failing, altough when i try to run UserRepositoryTests and test the validation, it correctly throws an exception, but here the saveAndFlush just returns null...
5 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/3/2024 in #java-help
What do y'all use for frontend with spring?
Which framework/stuff do you use? i wanted to use nextjs but people told me its overkill because its already a fullstack framework
12 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 7/1/2024 in #java-help
Styling tabpane in javafx
6 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 6/25/2024 in #java-help
Jackson ignores private fields
this way the field i is completely ignored, can i somehow include it?
tried
mapper.setVisibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY);
but that did not work15 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 6/23/2024 in #java-help
Implementing async file watching
using this doc page: https://docs.oracle.com/javase/tutorial/essential/io/notification.html
what would be recommended way of doing it asynchronously? do i just setup some sort of exeuctor or thread?? im not very skilled in parallel stuff
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 6/21/2024 in #java-help
Jackson Json overwrites json values when reading from it
4 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 6/18/2024 in #java-help
jackson json question
22 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 6/16/2024 in #java-help
onMouseClicked event doesnt do anything
for some strange reason it doesnt do anything when i click on it
7 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 5/30/2024 in #java-help
Injecting objects into custom controls FXML
How can that be done? i cant pass it through ctor as it doesnt allow ctors with any params in fxml
7 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 5/20/2024 in #java-help
JFX component from other components
How can I have custom component designed in fxml but still usable like <TestComponent />
15 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 5/19/2024 in #java-help
JavaFX menubar/contextmenu weird borders
5 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 4/27/2024 in #java-help
IntelliJ source code question
Where can I find source code for the code editor in community src?
8 replies
JCHJava Community | Help. Code. Learn.
•Created by Koblížkáč on 4/26/2024 in #java-help
RSTA & FlatLaf together
How can i make RSTA use same styling like FlatLaf does
4 replies