ClassUtils.convertClassNameToResourcePath() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.notNull
(Source)
at org.springframework.util.ClassUtils.convertClassNameToResourcePath
(Source)

Typical Exception Messages

  1. Class name must not be null

Origin

Similar

We have seen this error pattern in the following webpages (2)

  1. Sp1via Stack Overflow6 months ago
    Error creating bean with name 'entityManagerFactory' defined in class path resource [com/test/authflow/config/DatabaseConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Class name must not be null
  2. M.Szvia Stack Overflow1 year ago
    Error creating bean with name 'sessionFactory' defined in class path resource [com/budget/configs/DatabaseConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Class name must not be null