Java Community | Help. Code. Learn.

JCH

Java Community | Help. Code. Learn.

With more than 20,000 members, join one of the biggest and most active Java Communities on Discord! ☕

Join

java-help

❓︱qotw-answers

Switch to Java and Spring Boot for backend development.

Hello! I've experience developing with Python and Django ... I am considering making the switch to Java and Spring, Spring Boot for more opportunities ... I was wondinering if you had same experince .... if so what were the challenges you had in the proccess?

homework please help easy

Just implicit parameters, constructors, methods, we just started the course (no code provided it’s just implied)
No description

how to find WSDL file location in my SOAP webservice?

hey guys. i have soap webservice that is running on my server. i can call it with postman: http://dev.mycompany.lt/bgw/perlas then i add needed body and receive expected response. everythings fine. but i was wondering what is the location of my wsdl file? can smb help me out? thx...

Help

I am working on a plugin updater / version checker. I will start by sending the code first so it is easier to explain the issue ```java public final class SkriptPlus extends JavaPlugin { ...

urgent help

Would someone be able to help me with my lab urgently? It’s about putting in math expressions and checking if the parenthesis, brackets, and curly braces are balanced or not (open and closed on both sides) I have my code but im having this constant error and im stump on how to solve it...

Need Study Buddies for learning java from scratch.

Need Study Buddies for learning java from scratch.

hello

Im new in java, I would like to know how arrays work

Correct Sintax for JOptionPane

Hey! I'm a newby on java and i'm learning using a really old manual that my HS gave me to learn. My problem is that i can't get to the correct sintax to use a JOptionPane. If i use the one on the book i'm given like a 293837 errors but i couldn't find a clear explanation on google. Can anyone help me? Thx a lot :))

Packaging maven submodules

My project has different components and everything is tied together with grpc, so everything is inside of one maven project to start with: My maven submodule structure looks like this: ``` root +- interface...

Get method name within an annotation dinamically

Hi guys, is possible to get the method name from which a custom annotation is being called? E.x. ```java @MyCustomAnnotation public void myMethod(){}...

Testcontainers and application-test.yml

I have a question do i need add properties to application-test if im using testcontainers for mysql for example: the part of initialize: ```java...

Urgent, help me!

Hi, I'm currently working on a project using Flutter, TypeScript and Firebase. But have some trouble with it, if there is anybody can help me on this project, DM me, plz....

JPA When Primary Key Not Id

I'm new using spring and jpa, i notice when my primary key is not id is gonna effect performance and take more time for process when i try save/insert data, is it just my conclusion but is it true when primay key is not id (reference_numbervarchar) gonna doing select all data for checking if primary key already exist or not? I hope i could still using reference_number as primary key and prevent jpa to select all data and just try insert data and throw error when primary key exist...

JavaServer faces

Hi everyone, good evening, I'm Brazilian and here in my country there is no free material about Java Server Faces to study. Can anyone here provide me with some free material that can help me please? It doesn't matter if it is in English.

Spring gRPC Contexts don't work as expected

Hey! I'm using Spring Boot gRPC and encountered the problem that my set context (which I prepare in a @ServerInterceptor) is not used in exceptions at @GrpcAdvice ExceptionHandler. It handles Context.current() generation 5, while I intercept all incoming calls with a context of generation 6, in which I have prepared the user's metadata. The service methods also work with Context.current() with generation 6 and have access to the prepared metadata, but the exception handler does not. How can I tell my ExceptionHandler to use the latest context generation (which should be 6 and not 5)? Thanks in advance!...

jpa and postgresql

I can't find the reason of the error
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: org/hibernate/mapping/RelationalModel
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: org/hibernate/mapping/RelationalModel
application.yaml...

jar to exe?

I got my jar from netbeans and I was using launch to covert it but idk what to put in jre, wtv I try it doesn't work, it makes the app but it doesn't open... what am I doing wrong pls help 🥺

/help ping

Hi…. I’ve just started learning Java this week and I have a submission due for uni tomorrow but I am struggling… lol. I cannot figure out where I’m going wrong, I’ve read over my notes and text books and watched tutorials but I don’t know where I’ve went wrong, I’m just looking for some guidance on how to fix the code. any help is appreciated....
No description

Java Help Need

Hello everyone, I just need a help for Java. here is my git repo, https://github.com/takitahmid20/univent/ anyone can review my code? Like I'm facing a problem. UI design created using Scene Builder, but the Event Handling and Scene changing not working. onAction, onMouseClick everything added. Specially you can check the view/SignUp.fxml and controller/SignUpController.java file to check error or not. Here if click on sign up button, not working, also nothing showing in console to debug. Advance Thanks....
No description

Simple Infinite loop help

I have the following display() method for a circular queue, but I can't find the reason why it goes into an infiti loop when rear is 2 and front is 3 when the MAX_SIZE is 5. ```java public void display() { System.out.println("Front: " + front); System.out.println("Rear: " + rear);...