skip to Main Content

404 Not Found Error on Spring Liquibase PostgreSQL app

I keep receiving 404 Not Found error for my MVC app. Here are my code: application.properties spring.datasource.url=jdbc:postgresql://localhost:5432/demo1 spring.datasource.username=demo1 spring.datasource.password=demo1 spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.generate-ddl=true spring.jpa.show-sql=true server.port=5000 ## Hibernate Properties # The SQL dialect makes Hibernate generate better SQL for the chosen database spring.jpa.properties.hibernate.dialect…

VIEW QUESTION

remove backslashes from JSON string

I have a object of type: RestConsumerRequest<RewardsAccumulationRequest> which has @JsonProperty annotated fields like: @JsonProperty("product_code") private String productCode; @JsonProperty("sub_product_code") private String subProductCode; when I wrote it as String using: LOG.info("RestConsumerRequest<RewardsAccumulationRequest> is {}", objectMapper.writeValueAsString(restRequest)) I got: ..., "product_code":"CSS","sub_product_code":"SC",... I tried removing the…

VIEW QUESTION
Back To Top
Search