How to deal with Whitelabel Error Page in Spring Boot Applications
In this tutorial I am going to discuss about what is Whitelabel Error Page and how to deal with Whitelabel Error Page in Spring Boot applications. Spring boot…
In this tutorial I am going to discuss about what is Whitelabel Error Page and how to deal with Whitelabel Error Page in Spring Boot applications. Spring boot…
Table of Contents Introduction Prerequisites Project Setup Entity Class Repository Interface Exception Classes Advice for Exception Spring REST Controller Spring Boot Main Class Testing Exception Handling Source Code…
Introduction Here I am going to show you how to resolve issue org.hibernate.mapping.exception: No Dialect mapping for JDBC type that occurs in your Hibernate based application due to…
Introduction In this post I will show you how to work with Junit code coverage with JaCoCo code coverage library, which is quite a new maven plug-in that…
Junit provides an option of tracing exception thrown by a Java method. There are different ways of handling exceptions in JUnit tests. Standard Junit’s org.junit.Test annotation offers expected…
I am going to tell you what are the best practices for handling exceptions in Java applications. An exception is an event that occurs during the execution of…
This tutorial will show you how we can generate SOAP fault error code and message using Exception handling in SOAP based JAX-WS webservice. For this tutorial we will…
Introduction JSF 2 javax.faces.application.ViewExpiredException that arises due to the click on a link or button when session gets expired. This tutorial will show you how we can deal…
Introduction This issue occurs while establishing a trusted connection over SSL (Secure Socket Layer) in Artifactory. The error message indicates that Artifactory could not establish a trusted connection…
Introduction Here I will show you how to fix the issue java.security.cert.CertificateException: No name matching localhost found. To fix it, add a javax.net.ssl.HostnameVerifier() method to override the existing…