Breaking News

Setting Up Swagger 2 with a Spring REST API Using Springfox 0

Setting Up Swagger 2 with a Spring REST API

Setting Up Swagger 2 with a Spring REST API Spring Boot – Creating Docker Image     In this tutorial, we’ll look at Swagger 2 for a Spring REST web service, using the Springfox implementation...

how to install node js using tar file 0

Steps to download and install node in ubuntu

Steps to download and install node in ubuntu Step 1: Download latest or recommended node .tar.xz file from https://nodejs.org/en/ Steps to download and install node in ubuntu Step 1: Download latest or recommended node .tar.xz file from https://nodejs.org/en/ or you...

Dockerizing a Spring Boot Application 0

Dockerizing a Spring Boot Application

Dockerizing a Spring Boot Application make Dockerfile in the root folder and add the following line FROM openjdk:8-jdk-alpine ADD /build/libs/asset-management-service.jar asset-management-service.jar ENTRYPOINT [“java”,”-jar”,”/asset-management-service.jar”] EXPOSE 9195 save file with the name of Dockerfile. Type the...

Gradle building rest spring app can't find main class 0

Gradle building rest spring app can’t find main class

I kept getting the follow error message. how to fix it. FAILURE: Build failed with an exception. What went wrong: Execution failed for task ‘:findMainClass‘. > org.gradle.api.tasks.SourceSetOutput.getClassesDir()Ljava/io/File; plugins { id ‘java’ id ‘idea’ id...

jenkins installation on linux 0

jenkins installation on linux

Installing Jenkins The version of Jenkins included with the default Ubuntu packages is often behind the latest available version from the project itself.   Debian/Ubuntu curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \   /usr/share/keyrings/jenkins-keyring.asc >...

Remove term: Feign makes writing java http clients easier Feign makes writing java http clients 0

Declarative REST Client: Feign

In this tutorial, we’ll introduce Feign — a declarative HTTP client developed by Netflix. Feign aims at simplifying HTTP API clients. Simply put, the developer needs only to declare and annotate an interface while the actual...

JPA Many to Many example with Hibernate in Spring Boot 0

Many-To-Many Relationship in JPA

A relationship is a connection between two types of entities. In the case of a many-to-many relationship, both sides can relate to multiple instances of the other side. Note that it’s possible for entity...