The Master Class of "Learn Spring Security" is out:

>> CHECK OUT THE COURSE

The Spring Exceptions Tutorial discusses some of the most common exceptions in Spring with examples – why they occur and how to solve them quickly.

 

1. Spring Beans Exceptions

Spring BeanDefinitionStoreException

Causes and Solutions for the BeanDefinitionStoreException in Spring:

  • FileNotFoundException
  • NoSuchMethodError
  • NoClassDefFoundError
  • IOException

Spring BeanCreationException

Spring BeanCreationException – Causes and solutions for:

  • NoSuchBeanDefinitionException
  • NoUniqueBeanDefinitionException
  • BeanInstantiationException
  • NotWritablePropertyException
  • CannotLoadBeanClassException and the children: BeanCurrentlyInCreationException and BeanIsAbstractException.

Spring NoSuchBeanDefinitionException

Causes and Solutions for the NoSuchBeanDefinitionException in Spring – “No qualifying bean of type”, “No Bean Named”, Proxied Beans, etc.

 

2. Spring Data Exceptions

Spring DataIntegrityViolationException

The Spring DataIntegrityViolationException – Causes and solutions for Hibernate and JPA:

  • ConstraintViolationException
  • PropertyValueException
  • DataException
  • EntityExistsException

Guide to Spring NonTransientDataAccessException

Guide to the most common types of Spring’s NonTransientDataAccessException.

 

3. Spring Security Exceptions

No bean named ‘springSecurityFilterChain’ is defined

No bean named ‘springSecurityFilterChain‘ is defined – the problem, the causes and the solutions.

 

4. Other Spring Tutorial

The Master Class of "Learn Spring Security" is out:

>> CHECK OUT THE COURSE