I'm trying to use Services and DTOs in my project (trying to learn what they are and how they should be used). First, I had only Controllers, Models and Reposit
I've used in-mem databases in Spring JPA tests many times, and never had a problem. This time, I have a bit more complex schema to initialize, and that schema m
I have never done this before, and most of the tutorials do not mention how to deal with .crt files. I bought an SSL certificate from GoDaddy, and selected To
I have a Spring Boot application, the code need to access a file under resources folder. here is my application.properties file: cert.file=classpath:/resources
I have this class for CORS on my API: import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annota
I am trying a ManyToOne Bi-Directional Association using SpringBoot, SpringDataJpa along with a unit test using SpringBootTest. However the test fails with the
In my Spring Boot app I want to externalise the properties to run in a Docker container. When first deployed, the properties that are currently in my-server/sr
I am getting the following, while running 'mvnw' command. How to add maven wrapper to a project? project_root>mvnw 'mvnw' is not recognized as an inter
Simple spring boot application trying to run in docker, however after docker run, exits immediately. Here is my Dockerfile FROM anapsix/alpine-java:latest VOLU
I am using AJSC framework in SpringBoot with JaxB implementation. I built the stubs outside the project and copied them inside the project with proper directori
I have a small spring boot project,, which works fine . But, I tried to add some kind of validation.. I worked on one html page but failed on the other with no
Version of springfox-swagger that I am using [ ![Download] 1]2 What kind of issue is this? Project structure: SwaggerConfig is in automate.api.config.swagger.Sw
Recently i have introduced JWT authentication to my Springboot and Angualr2 based App. In There i tried to do a POST request by passing the JWT token as below i
Recently i have introduced JWT authentication to my Springboot and Angualr2 based App. In There i tried to do a POST request by passing the JWT token as below i
There is a request table in my database. Here is its structure Usually I created the entity with my hands, but this time I decided to generate it from the data
I'm trying to make GET request between two microservices (with Keycloak authentication). Let's say microservice A is asking microservice B for some resources. M
hope this is not a stupid question. connecting ionic and java springboot , there's no error message when the app is live serving in a browser and the data is
I'm trying to upgrade my springboot app from 2.5.9 to 2.6.7 so i needed to migrate from springfox 3.0.0 to springdoc 1.6.8 because of many compatibility issues.
My problem was described in Showing a loader while waiting for server-side code (without a blank page). To summarize briefly, I want to show t
I've tried to make a loader for every page but failed. I want to show the loader before completing server-side jobs: [Loader] -> [Target page]. However, HTML