skip to Main Content

Add new Object to the JSON output

I have a POJO like this: public class Person { public long id; public String someOtherId; public String vollName; public int alter; } I am converting the POJO to JSON using the mixin: @JsonIncludeProperties( { "id", "name", "age", "customFields" }…

VIEW QUESTION

docker compose build: failed to solve: changes out of order

dockerfile FROM openjdk:alpine ARG JAR_FILE=target/*.jar COPY ./target/diplomAPI-0.0.1-SNAPSHOT.jar app.jar ENTRYPOINT ["java", "-jar", "/app.jar"] docker-compose.yml version: '3' services: app: build: context: . dockerfile: Dockerfile ports: - "8080:8080" depends_on: - db db: image: postgres restart: always ports: - "5432:5432" environment: POSTGRES_DB: mobilka POSTGRES_USER:…

VIEW QUESTION
Back To Top
Search