#spring - Questions and answers
14 questions1 pages20 questions on this page
6 points
EN
I have decided to upgrade my application to Spring Boot 3 attaching Spring Boot Security dependency. And now I am not able to do POST requests. REST API returns 403 Forbidden status. Any idea how to s...
3 points
EN
Why on Windows my Spring Boot 2 application starts without any problems, and on Linux not? Java exception:
3 points
EN
I want to perform a GET request with body. How to do that or what library should I use? I am currently using Java 17, Spring Boot 3.0.1 and RestTemplate.
5 points
EN
I am developing web service that provides API that intermediates in some operations with desired web service. Application concept: My web service, needs in each request the following path prefix: It m...
5 points
EN
I have got issue with my Spring Boot 2 application. When I run my application using IntelliJ IDEA everything works fine. When I try to run it from command line application throws error. Anyone knows w...
4 points
EN
I have trouble uring JdbcTemplate query() function getting single result from ResultSet. This is exception I got: This is stack trace: SQL query I used: My java source code:
4 points
EN
I have an issue: Hibernate returns duplicated rows in the list of entities. I use a native query with GROUP BY: Duplicated rows: Hibernate returns duplicated rows in the list of entities.
9 points
EN
What is the reason why my Spring Boot Application doesn't let to establish socket connection via Jsoup or java URL class when I have enabled APR / Tomcat native libraries? Exception message: When I us...
5 points
EN
After migration from Spring Framework + Tomcat 8 to Spring Boot 2.4 + Tomcat 9, I have noticed big extreme slowness in receiving web content. Initial JSP compilation takes a lot of time, first request...
6 points
EN
How to fix this error: This error occurs when I try to save new entity with repository: My entity: Repository:
4 points
EN
I write an app with React + Java (Spring Framework) and encountered problem with AJAX request to Spring Controller. Error from browser console: Access to fetch at 'http://localhost:8080/users/get-user...
1 points
EN
I have created some controller that returns some result for indicated GET REST action: With jQuery AJAX GET method it works perfectly, but when I tried to open same url from browser I got following pr...
10 points
EN
How to accept and return JSON from Spring controller with http post? Current code that doesn't work: How to make this work?
14 item(s), 1 page(s), 14 item(s) on this page.
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join