JCH
Java Community | Help. Code. Learn.
We are a Community full of Java developers. Connect with other devs, get help, help others and do much more!
JoinJCH
Java Community | Help. Code. Learn.
We are a Community full of Java developers. Connect with other devs, get help, help others and do much more!
Joinim failing to connect a sql server db to a spring boot application
i have this in application.properties but the table dont update

Plz help
I am following this youtube tutorial for springboot and my code is giving error , attaching the Screenshots , can someone please help , i tried chat gpt and from 2 hours i cant figure out whats going on

What are the current pains / issues with deploying JavaFX desktop apps multi platform?
I am looking into the red headed stepchild of the Java desktop applications world, JavaFX, but struggling to get a clear answer on the issues are that make multiplatform deployments a pain.
Anyone better versed able to shed light on the matter?...
I want help
I am making a game flappy bird (I am a student)
In my project, I am getting such an error that as soon as it is about to touch the pillar, it does not get touched and when it about to touch it, the game gets over....
Best Practices for managing JavaFX Screens
I tried a few approaches for managing "screens" from fxml centrally, but none was satisfactory to me.
I tried implementing a dynamic registry, but searching through the classpath was too complicated for me.
I tried having a public static method to load the scene, but that meant a lot of duplicated code for loading fxml and needlessly implemented methods that all do the same.
My internal code quality metrics tell me that thats not a good solution either.
...
xgettext detects false positives due to java.sql.ResultSet::getString
https://stackoverflow.com/questions/79639929/xgettext-detects-false-positives-due-to-java-sql-resultsetgetstring
If I run
find src -iname "*.java" | xargs xgettext -ktrc -ktr -kmarktr -ktrn:1,2 -o po/keys.pot --from-code=utf-8 to create the keys.pot file, then this contains all strings given to i18n::tr, but it also includes all strings given to java.sql.ResultSet::getString like rs.getString("Username").
How can I avoid this? I don't want to localize database columns....Which one should I do...
I'm making a thing that allows me to grab the version of my PaperMC plugin, but I was thinking if I should make a static method for it or should I store the version in a static variable, which one is better?
...
public static String getVersion() {
return instance.getDescription().getVersion();
}
public static String getVersion() {
return instance.getDescription().getVersion();
}
PacMan code help needed
/help ping
I'm having trouble completing my Pac-Man game project and need help fixing and improving the code to get it running.
https://drive.google.com/file/d/1PwGOJidxYDSRnnmDh6kYXfR8_yLYZQkb/view?usp=drive_link
You can access this zip file to help me with these issues:...
i made a project but i am unable to login through the login page
it takes long time to just to get login thoruhg localhost and also while hosted in render
turn off the warning
how to make eclipse ide not showing something thats not used warning, its so anoyingannoying
need to restructure the filesctructure in springboot project
it is now a package but want it to be folders just like in my old project so i can place folders there
Google extension AI script HELP
im trying to make my google extension have a transparent background while keeping the border and backgroun of the extension ui, theres this white border aroun it that really bothers me, i do not wish to proceed until this white border fix is done. Attached is a screenshot of what im talking about, i ahve my overlay one it needs fixes but i cant get the white border to go away, the attached .css file is the style file, i also have another popup.js file, im just thinking the error would be here in...

Recommendations for memory profiler on java applications?
I am interested in benchmarking and monitoring my java applications. Could someone recommend any tools, frameworks or patterns one might use to profile java applications?
Any advice is greatly appreciated!...
run gradle custom plugin
i downloaded the template plugin from here and built the project
the test class says the greet plugin is there, however i cant seem to find a way to actually run it. Any ideas?...
Suppressing exceptions
so I've a method which possibly can throw 6 exceptions in signature, but some of them can't be thrown unless u messed up with code and changed constants
Is it good idea to just add try/catch and ignore them?
method sign:
```Java...
DATA JPA filter query with like and ignore case
im trying to implement a filter/search function based on attributes that can be null, i have this so far:
@Query("""
select a from Item a where
(?1 is null or a.name LIKE %?1%)...

