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 Here I am going to tell you how to use proxy server and timeout with Spring Boot RestTemplate API. If you are running your application behind a proxy server then you need to connect to REST API through proxy server and without proxy server connection you may face connection timeout error or other errors. Remember if…

Posted in Spring Boot Spring REST

Spring RestTemplate With Auth Token, Proxy and Timeout

Table of Contents Introduction Prerequisites Exclude Dependencies/Libraries Exclude Per Configuration Exclude Per Dependency 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…

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 In this example I am going to show you how to call REST APIs using javax.net.ssl.HttpsURLConnection. So, I am using plain Java code to send or receive data to or from the REST APIs. I am also going to show you how to send authentication token in the HTTP header. I am also going to…

Posted in Java REST

HttpsUrlConnection REST API Call – Auth Token And Proxy Server

Introduction In this tutorial I am going to show you how to build Spring Boot Angular CRUD Application. CRUD is an acronym and stands for Create, Read, Update and Delete operations performed through an application or APIs. Using Spring Boot application I will build REST APIs which will be used to perform CRUD operations on…

Posted in Angular Spring Boot Spring JPA Spring REST

Angular Spring Boot REST API CRUD Example

Introduction Here I am going to show you how to build an application using Angular for authenticating a user using Okta SSO (Single Sign On) with PKCE. Okta is an enterprise level identity provider that helps you to enable Single Sign-On across applications within an enterprise. Angular is a single page application (SPA) and it…

Posted in Angular

Angular Okta SSO (Single Sign On) with PKCE

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 In this tutorial I am going to explain about few common startup problems or errors of RabbitMQ server after a fresh installation. I am using 3.6.1 version of the RabbitMQ message broker. RabbitMQ Startup Errors You might have faced the following errors during starting the RabbitMQ message broker after installation in your system. Starting…

Posted in RabbitMQ

Fix RabbitMQ Startup Errors After Installation

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 am going to build an example on how to select multiple rows from HTML table and delete these multiple selected table rows from MySQL database using CodeIgniter 4 with the help of AJAX technique in jQuery. In this tutorial I am going to fetch all records from the MySQL database and displaying…

Posted in Codeigniter

Codeigniter 4 AJAX MySQL Multiple Rows Deletion

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