Problem Here I am going to tell you how you can solve the problem when you try to run Java main class in Spring Boot application from IntellijIDEA. The actual error you would find as given below:

Posted in Intellij

Intellij IDEA Error – Command Line Is Too Long

Introduction I am going to show you how to exclude dependency from build.gradle script in gradle based Java project. Specially when you use several starter dependencies in your Spring Boot project, then many children dependencies are found and hence many libraries are downloaded in the project’s classpath. These many libraries may not be needed for your project and you may want to exclude these…

Posted in Gradle

How To Exclude Dependencies In Gradle Based Java Project

Introduction In this example, I am going to show you how to find dependency hierarchy using gradle build tool in your Java based projects. Your Spring Boot projects might be using gradle build tool and you want to check what dependencies are used in your project. You can easily find what libraries are used in your project by looking…

Posted in Gradle

Find Dependency Tree Hierarchy In Gradle Based Java Project

Introduction Are you getting logon denied error while starting or deploying your Spring Boot application into Pivotal Cloud Foundry (PCF) cloud environment? Generally, logon denied error occurs while your application is trying to connect to database server. The error you get in your application log is similar to the following error: From the above error…

Posted in Cloud PCF

Fix Oracle Logon Denied Error In Pivotal Cloud Foundry

Introduction Here in this tutorial I am going to explain what are the different branching strategy in Git repository, I will talk about different git branching workflows and how to work with different branches in Git repository. You might have heard of or seen different branches in Git repository, such as, master, develop, feature, release,…

Posted in Git

Git Branching Workflows – How To Work with Different Branches

Introduction Here I will show you how to create maven project using CLI. CLI means command line interface, so you need to use command line tool (cmd prompt) in Windows or Shell terminal in Unix based system. You can use any IDE (for example, Eclipse) or tool to create a new maven project. During project creation…

Posted in Maven

How To Create Maven Project Using CLI

Introduction Are you stuck or confused how to build a Java or Spring Boot project when your system has multiple versions of Java or JDK installed? I will show you how to use specific jdk version for gradle build. Java version might be different in your classpath than what you want to use in your…

Posted in Gradle

How To Use Specific JDK Version For Gradle Build

In this tutorial I am going to show you an example on deploying Spring Boot application to Heroku cloud. I will create a basic CRUD application with Spring Boot Data JPA and PostgreSQL/MySQL technologies. I will first show you how to perform CRUD operations locally, then deploy the same application in the Heroku cloud with…

Posted in Cloud Heroku MySQL Spring Boot

How to deploy Spring Boot Data JPA Application to Heroku Cloud

Here in this example I am going to show you how to allow users for OAuth2 SSO (Single Sign On) using AWS (Amazon Web Services) Cognito. I had explained how to do OAuth2 Single Sign On using Spring Boot and GitHub account. Here I am going to use AWS Cognito. You can use any other…

Posted in AWS Spring Boot Spring REST Spring Security

Spring Boot OAuth2 SSO Example with AWS Cognito

Here I am going to show you how to merge two separate branches into one using tortoise git client. Generally you or development team need to maintain separate line of development in different branches. So at some later point of time you need to merge your changes into another branch. Your team may manage different…

Posted in Git

How to merge two separate branches using Tortoise Git client

Here I will discuss on how to clone and create branch using tortoise git client. I assume here that a master branch already exists in the remote git repository. I will show you here how to clone the master repository in your local system using git client. You can also use the command line tool…

Posted in Git

How to clone and create remote Git repository branches using Tortoise Git

In this tutorial I will show you how to dockerize Django MySQL app using docker compose in Linux environment. So why do you need docker compose when you have docker container? Generally it is said to be best practices when each docker container runs a process with single responsibility, but for this application you need…

Posted in Django Docker MySQL

Docker Compose – Dockerizing Django MySQL App