All Questions
55 questions
-4
votes
1
answer
40
views
My SpringBoot project takes long to run in debug mode [duplicate]
My @SpringBoot project takes long to run in debug mode. When I pause the execution this is the current line that is executing. Its in Object.java
public final native void wait(long timeout) throws ...
0
votes
1
answer
106
views
Spotify User Authorization forbidden error
I'm creating a project using spotify API and springboot but having some issues with user authorization.
Problem: I can authorize but only once, after that I have to wait 3600s to auth with same ...
1
vote
0
answers
34
views
Eclipse debug not breaking SpringBoot 3 application
I am upgrading spring-boot 2 to 3 (maven). It has scheduled task.
When using Springboot2, app does not get into break point when debugging "mvn spring-boot:run" with Eclipse until I added ...
1
vote
0
answers
382
views
Why i am getting this error' Builder lifecycle 'creator' failed with status code 51' when I run 'mvn spring-boot:build-image'
I'm learning Docker and I'm trying to create an Image of my current Spring project.
I'm trying to run mvn spring-boot:build-image to create a docker image for my Spring Boot project, but I got this ...
1
vote
2
answers
45
views
JPA one-to-many relationship not working properly
I have an issue with my relationship between Membre and Sortie but I can't figure out what I did wrong. Everytime I run my test it triggers an exception.
Can someone help me with this please ?
Membre....
-1
votes
1
answer
994
views
Eclipse not stopping at Debug Breakpoint
I have a simple java, sprint boot project and I wanted to debug the code inside but when I launch the debug, Eclipse doesn't stop at any breakpoint.
I tried to clean the workspace, update maven ...
0
votes
2
answers
943
views
Spring boot can run with mvn spring-boot:run but not working via IntelliJ community to run main class?
I have IntelliJ community 2020.2.4 version and a Spring Boot 2.7.10 web application (called main-app) using maven with openjdk version "11.0.18" 2023-01-17,
This application has a dependency ...
-1
votes
1
answer
88
views
Debugging issue in Sprinboot Application
I am trying to debug my spring boot application but debugger is getting suspended at run method but my application is working.
@SpringBootApplication
public class Application {
public static ...
0
votes
0
answers
279
views
Why is VS Code Java debugger looking for a JAR file for a dependency that does not exist?
I have the Java extension pack for VS Code installed as well as Red Hat Java language support extention. Every time I try to run and debug right away I get the error message Exception has occurred: ...
1
vote
0
answers
680
views
Stop Intellij debugger stepping into Spring classes
I'm debugging my Spring Boot app with IntelliJ. I'm pressing step over and the debugger steps into built in Spring classes like "InvocableHandlerMethod". How can I debug only my code and not ...
1
vote
0
answers
176
views
Spring boot debug through the docker container
I have spring boot service. i need to debug the service. but it is in docker container.
I followed the guide lines from here but unfortunately I end up with some error.
My docker compose
version: '3.3'...
0
votes
0
answers
102
views
How do you debug when error is thrown in the class(read only file) from dependency(jar)? [spring boot]
I've been debugging in the spring boot framework. I need your debugging advice.
I am getting an error during app creation. So not able to put breakpoints.
And I found out this exception is actually ...
0
votes
0
answers
408
views
How to handle Unexpected Null pointer exception at this situation
I am trying to getting data based on EpcohSecond but it gives null pointer error, and a warning that
Here:
billingPointValues = timeSeriesReadServiceFacade.fetchBillingPointValues(billingPoint, ...
1
vote
2
answers
1k
views
How can I debug JPA projections content in Java?
I'm using JPA projections in my project.
I have my Projection class which I can do getters without problem.
public interface ProjectionOP {
String getName();
LocalDate ...
1
vote
1
answer
1k
views
Web server failed to start. Port 8080 was already in use while re-debugging spring boot application
I am trying to run my Spring boot application in debug mode {Intellij Idea}.
When I debug the application for the first time, it works. However, on stopping the process and running the application ...