Sung
Explore posts from serversJCHJava Community | Help. Code. Learn.
•Created by Sung on 10/23/2024 in #java-help
[ GITHUB ]Contrib graph not working
Hello,
I don't know hy but my contrib graph doesn't work when I commit and push, it obviously work when I'm using github to delete or add a repo but github doesn't count my commits.
I have always had a different email in my signature from my github and my commit signature and it used to work before.
I tried to modify my mail with a git command line to have the exact same email but there's an SSH key and it tells me the key is invalid.
Anyone can help me with that ?
6 replies
JCHJava Community | Help. Code. Learn.
•Created by Sung on 8/6/2024 in #java-help
Thymeleaf / Loading image from DTO
Hello guys, I'm trying to make a profile manager for any user that is successfully identified, I can render every user datas in my template except for my image, in my inspector it says
the image can't load
The image comes from my DTO and it's persisted in my database and I have implemented my getters and setters properly but I still don't know why it doesn't work.
In my browser it obviously shows Image de profil
Here's my code in my template :
22 replies
JCHJava Community | Help. Code. Learn.
•Created by Sung on 7/29/2024 in #java-help
RequestParam / User Not Found
Hello again guys,
I'd like to render my data user on a template with the GET method. I made sure my page was created and my datas are persisted in my db.
I tried to render my data through the email user as it's shown below and I want my URL to be like this :
http://localhost:8080/[email protected]
( which works perfectly if I write this in my browser bar ) but when I want to access to my profile it return me a USer nto found, because Spring boot sees it as null
21 replies
JCHJava Community | Help. Code. Learn.
•Created by Sung on 7/25/2024 in #java-help
Render dynamic dayas / Status 400
Hello guys, I'm trying to render dynamically my datas from my entity ( the datas are well persisted, there's no problem in the database side ) with thymeleaf an user page once he's authenticated but I have the famous
I understand from my part this is a mapping problem, but I don't see what I didn't do wrong here's my code ( Controller part ) :
view part :
10 replies
JCHJava Community | Help. Code. Learn.
•Created by Sung on 7/20/2024 in #java-help
Spring Boot Security / Request = 500
Hello guys, I'm a beginner here who's trying Spring Boot security.
I'm trying to sign in with the httpSecurity but when I do my sign-in request, SPring boot redirects me to the famous issue.
The thing is in my security configuration I understand I have to modify this line :
But my home URL is
http://localhost:8080/
do you know how to modify the url to at least redirect it to the homepage ( I built my environment with Maven ) ?94 replies