MySQL denying connection with correct password.
Reddit » Java Help
by /u/brazen768
20h ago
Hi All, Getting this error java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) I know the password is correct because I've gone into MySQL installer -> reconfigure on the server and checked the password. Restarted the server/app/pc many times. Checked every dependency for issue. Even old spring apps that previously connected to this db are not working. Configuration: Spring Boot App / MySqlServer 8.0.30 / mysql-connector-java 8.0.33 I'm really stumped on where to check next. Next step for me is to figure out how to log the password being sent to check ..read more
Visit website
Junior Developer Seeking Advice on Hourly Rate and Time Estimate for WhatsApp Messaging Service Project
Reddit » Java Help
by /u/SalamanderNo9012
20h ago
Hi r/javahelp I'm a Junior Developer with 1 year of real-world experience primarily in Python, Swift, JavaScript, HTML, CSS, and Java. I'm located in the south of Germany and have been offered my first client project to develop a WhatsApp messaging service. I'm reaching out for advice on setting a fair hourly rate and estimating the time required to complete this project. Project Details: Goal: Develop a messaging service that interfaces with the WhatsApp Cloud API. Features: Message dispatch and status tracking. System-level authentication where each system interfacing with the service has ..read more
Visit website
Springboot Unit Test help
Reddit » Java Help
by /u/NeonVodka
20h ago
Sonar scan isn't triggered in Jenkins or locally as when updated from jdk11 to jdk17 jacoco.xml is not getting generated in local Changes in pom file was just jacoco version from 0.8.7 to 0.8.9 Junit is 4.13.1 version Mockito 5.2.0 Surefire is 2.22.2 submitted by /u/NeonVodka [visit reddit] [comments ..read more
Visit website
Swing JComboBox laying out correctly but not interact-able
Reddit » Java Help
by /u/maxwelldoug
20h ago
Hi folks! I'm having some trouble solving an issue with Swing. I cannot share the full code for licensing reasons—I apologize in advance—but I am about ready to give up on this problem. I have a series of JComboBox elements that are simply refusing to be interacted with. They can't drop down, change the selection with arrow keys, or do anything else. public void addInsidePanel(EventBoxPanel ebp) { penalizedPlayerLabel = new JLabel("Penalized:");// 45 penalizedPlayerLabel.setBounds(8, 27, 50, 20);// 45 penalizedPlayerLabel.setForeground(Color.black); penalizedPlayerLabel.setFont(Defs.SQRA_FO ..read more
Visit website
How best to combine responses when calling api service with 100 records but max per_page is 50
Reddit » Java Help
by /u/DarkWingDickCharles
20h ago
So like it says on the tin, we have a service with 100 records. Want to call the service and get all the records, but the catch is max per_page is 50 so can't do it all in one swoop. Then take the responses, combine them and return them as a single response. Say I have some response logic like this: Response response = RestAssured.given() .baseURI("https://some-service") .header("apiKey", value) .request(Method.GET, "https://some-service/retrieve_records) .expect(200) I'm thinking I could chuck this in a while loop so that it calls the service x times (in this case 2). So have few concerns ..read more
Visit website
What’s the use of lambda expressions?
Reddit » Java Help
by /u/South_Dig_9172
20h ago
So what’s the main reason lambda expressions are used? So instead of developers creating the implementation for an abstract method, now we just send the implementation itself. What’s the main point of this? It basically does the same thing? What’s the added benefit that I’m not really seeing here? submitted by /u/South_Dig_9172 [visit reddit] [comments ..read more
Visit website
How set dimensions of JFrame exactly I wrote?
Reddit » Java Help
by /u/CapableAd4025
20h ago
I made a window using a jframe and made it 500*500 in size (as I understand it in pixels). Having done this, I get dimensions of about 480* 480 (I measured it from the screenshot) and it's certainly not 500* 500. At the same time, if I write window.getSize(), it gives me the same 500*500. It's same problem with any sizes, for example my monitor is 1920 pixels width and when I make window with this width it makes ~~ 30 pixels narrower on each side. The question is what is going on and how to make the dimensions exactly what I wrote? And yes, I was looking for information and I didn't find anyt ..read more
Visit website
Java OOP
Reddit » Java Help
by /u/Interesting-Hat-7570
20h ago
Hi all. I'm new to OOP. I don’t know if it’s possible to ask such questions here. But can you rate my OOP skills? At the moment I have created 2 projects. Please be strict and tell me what problems I have with the code or with the class. Perhaps my class is trying to do too much. Or they are strongly related. Every opinion and advice is important to me. https://github.com/Yelzhaas?tab=repositories ty submitted by /u/Interesting-Hat-7570 [visit reddit] [comments ..read more
Visit website
How to do "Separation of concerns"
Reddit » Java Help
by /u/karthifairhawn
20h ago
I found this in stack overflow for what is SoC One example might be a html developer might want to separate out html, css and javascript into separate files. In the above case SoC, I assume they're seperating based on languages, But in the context of react JSX, JS and CSS will be on same file here I see react component as concern. (So every component get seperated) Lets say I have feature user management where it comes with Add User Remove, Update User... For this feature i have to make service classes right ? As user is core feature of my application, It exposes variety of functionalities li ..read more
Visit website
Resolving error with JSON file in Email header
Reddit » Java Help
by /u/NigelPhoenix
20h ago
Hi everyone. I'm a novice working in Python with an app for stock trading I found on Github. The webhooks from Tradingview, (a major trading platform) to action a trade come with " Content-Type text/plain; charset=utf-8" instead of "Content-Type application/json" in the header. The Tradingview docs clearly state that unless the message body of the text is formatted properly, it will send data as text/plain, so apparently the error is in the end for not formatting text correctly. However, I used the template already in the working repo, so the error likely isn't there. BUT I'M TOO NEWB TO KNOW ..read more
Visit website

Follow Reddit » Java Help on FeedSpot

Continue with Google
Continue with Apple
OR