java 9 tutorial

Java 9 tutorial

Here is Java 9 tutorial and Java 9 features with examples and detail explanation like Java 9 module system, Java 9 jshell, Java 9 process API improvements, Java 9 reactive…

Spring Boot Slf4j and Logback Example

Spring Boot Slf4j and Logback Example

1. Overview Slf4j (Simple Logging Facade for Java) APIs provides abstraction using facade design pattern for supporting different logging frameworks like Logback, Log4j, Java Logging, etc. Using Slf4j, the software…

Spring Boot Log4j2 Example

1. Overview Logging is the recording of intended execution steps in the software lifecycle. It makes troubleshooting, monitoring and debugging of software easier and smooth. There are many java based…

Spring cache clear all cache

Spring cache clear all cache

1. Overview This article is about spring clear all cache or spring cache evict programmatically.  Spring internally create org.springframework.cache.CacheManager bean which help us to manage the cache. Here is an article on…

Spring boot hibernate example

Spring boot hibernate example

Spring boot comes with easy ways to configure hibernate. Here is Spring boot hibernate example with MySQL and Hibernate ORM. Spring also provides easy ways to configure hibernate using JTA but…

solr proximity search example

Solr Proximity Search Example

1. Overview Proximity Search is an extension of phrase search, In phrase search, two query terms should be in a relative position.Proximity search allows us to search more than one…

java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException

While working with java 9 this exception may generate exception java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException which indicate that javax/xml/bind/ValidationException class is not accessible. java.base does not contains java.xml.bind module by default. –add-modules option is used to add module dependency. Use…