1. Explore
  2. »
  3. Spring Core
  4. »
  5. org.springframework.util

org.springframework.util errorsSpring Core

Top patterns

  1. Assert.notNull() has thrown an IllegalArgumentException
    No solution
  2. Assert.state() has thrown an IllegalStateException

    You need to set the type property in your bean XML file. <property name="targetType" value="some value" />

  3. Assert.isTrue() has thrown an IllegalArgumentException

    If you are trying to get a specific page of results, try first defining that page.

    Check the source of this solution for more info

Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Assert.notNull() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.notNull
471Web pages
IllegalArgumentExceptionAssert.notNull()471

Assert.state() has thrown an IllegalStateException

java.lang.IllegalStateException
org.springframework.util.Assert.state
202Web pages
1Solution
IllegalStateExceptionAssert.state()202

Assert.isTrue() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.isTrue
153Web pages
1Solution
IllegalArgumentExceptionAssert.isTrue()153

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.springframework.util.ClassUtils.forName
150Web pages
ClassNotFoundExceptionClassUtils.forName()150

PropertyPlaceholderHelper.parseStringValue() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.PropertyPlaceholderHelper.parseStringValue
118Web pages
IllegalArgumentExceptionPropertyPlaceholderHelper.parseStringValue()118

PropertyPlaceholderHelper.replacePlaceholders() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders
110Web pages
IllegalArgumentExceptionPropertyPlaceholderHelper.replacePlaceholders()110

ResourceUtils.getFile() has thrown a FileNotFoundException

java.io.FileNotFoundException
org.springframework.util.ResourceUtils.getFile
64Web pages
FileNotFoundExceptionResourceUtils.getFile()64

Assert.hasText() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.hasText
59Web pages
IllegalArgumentExceptionAssert.hasText()59

Assert.notEmpty() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.notEmpty
55Web pages
IllegalArgumentExceptionAssert.notEmpty()55

Assert.isInstanceOf() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.isInstanceOf
39Web pages
IllegalArgumentExceptionAssert.isInstanceOf()39

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.springframework.util.ClassUtils.forName
31Web pages
ClassNotFoundExceptionClassUtils.forName()31

Assert.notNull() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.Assert.notNull
30Web pages
IllegalArgumentExceptionAssert.notNull()30

ReflectionUtils.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
7 frames hidden
org.springframework.util.ReflectionUtils.getDeclaredMethods
30Web pages
NoClassDefFoundErrorReflectionUtils.getDeclaredMethods()30

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
9 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
29Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()29

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
org.springframework.util.ClassUtils.forName
28Web pages
ClassNotFoundExceptionClassUtils.forName()28

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
org.springframework.util.ClassUtils.forName
28Web pages
ClassNotFoundExceptionClassUtils.forName()28

ReflectionUtils.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
org.springframework.util.ReflectionUtils.getDeclaredMethods
26Web pages
NoClassDefFoundErrorReflectionUtils.getDeclaredMethods()26

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
4 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
21Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()21

Assert.hasLength() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.hasLength
19Web pages
IllegalArgumentExceptionAssert.hasLength()19

NumberUtils.parseNumber() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
org.springframework.util.NumberUtils.parseNumber
19Web pages
NumberFormatExceptionNumberUtils.parseNumber()19

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
org.springframework.util.ClassUtils.forName
19Web pages
ClassNotFoundExceptionClassUtils.forName()19

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
5 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
19Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()19

Assert.isNull() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.isNull
15Web pages
IllegalArgumentExceptionAssert.isNull()15

ClassUtils.forName() has thrown an UnsupportedClassVersionError

java.lang.UnsupportedClassVersionError
4 frames hidden
org.springframework.util.ClassUtils.forName
15Web pages
UnsupportedClassVersionErrorClassUtils.forName()15

ReflectionUtils.invokeMethod() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
org.springframework.util.ReflectionUtils.invokeMethod
15Web pages
IllegalArgumentExceptionReflectionUtils.invokeMethod()15

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.springframework.util.ClassUtils.forName
14Web pages
ClassNotFoundExceptionClassUtils.forName()14

MethodInvoker.prepare() has thrown a NoSuchMethodException

java.lang.NoSuchMethodException
1 frames hidden
org.springframework.util.MethodInvoker.prepare
13Web pages
NoSuchMethodExceptionMethodInvoker.prepare()13

Assert.isAssignable() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.isAssignable
13Web pages
IllegalArgumentExceptionAssert.isAssignable()13

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
6 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
13Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()13

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
11Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()11

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
7 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
11Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()11

ReflectionUtils.getUniqueDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
6 frames hidden
org.springframework.util.ReflectionUtils.getUniqueDeclaredMethods
11Web pages
NoClassDefFoundErrorReflectionUtils.getUniqueDeclaredMethods()11

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.springframework.util.ClassUtils.forName
10Web pages
ClassNotFoundExceptionClassUtils.forName()10

ReflectionUtils.doWithMethods() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
4 frames hidden
org.springframework.util.ReflectionUtils.doWithMethods
10Web pages
NoClassDefFoundErrorReflectionUtils.doWithMethods()10

Assert.isTrue() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.Assert.isTrue
9Web pages
IllegalArgumentExceptionAssert.isTrue()9

ClassUtils.resolveClassName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.springframework.util.ClassUtils.resolveClassName
8Web pages
ClassNotFoundExceptionClassUtils.resolveClassName()8

Assert.isAssignable() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.Assert.isAssignable
7Web pages
IllegalArgumentExceptionAssert.isAssignable()7

NumberUtils.parseNumber() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
org.springframework.util.NumberUtils.parseNumber
7Web pages
NumberFormatExceptionNumberUtils.parseNumber()7

Assert.isInstanceOf() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.Assert.isInstanceOf
7Web pages
IllegalArgumentExceptionAssert.isInstanceOf()7

ClassUtils.resolveClassName() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.ClassUtils.resolveClassName
7Web pages
IllegalArgumentExceptionClassUtils.resolveClassName()7

ClassUtils.<clinit>() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
org.springframework.util.ClassUtils.<clinit>
7Web pages
NoClassDefFoundErrorClassUtils.<clinit>()7

ClassUtils.resolveClassName() has thrown an IllegalArgumentException

java.lang.ClassNotFoundException
4 frames hidden
org.springframework.util.ClassUtils.resolveClassName
7Web pages
IllegalArgumentExceptionClassUtils.resolveClassName()7

ClassUtils.resolveClassName() has thrown an IllegalArgumentException

java.lang.ClassNotFoundException
6 frames hidden
org.springframework.util.ClassUtils.resolveClassName
6Web pages
IllegalArgumentExceptionClassUtils.resolveClassName()6

ReflectionUtils.getDeclaredMethods() has thrown a NoClassDefFoundError

java.lang.ClassNotFoundException
org.springframework.util.ReflectionUtils.getDeclaredMethods
6Web pages
NoClassDefFoundErrorReflectionUtils.getDeclaredMethods()6

ReflectionUtils.makeAccessible() has thrown a NullPointerException

java.lang.NullPointerException
org.springframework.util.ReflectionUtils.makeAccessible
5Web pages
NullPointerExceptionReflectionUtils.makeAccessible()5

ClassUtils.getMethod() has thrown an IllegalStateException

java.lang.IllegalStateException
org.springframework.util.ClassUtils.getMethod
5Web pages
IllegalStateExceptionClassUtils.getMethod()5

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
6 frames hidden
org.springframework.util.ClassUtils.forName
5Web pages
ClassNotFoundExceptionClassUtils.forName()5

ClassUtils.forName() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.springframework.util.ClassUtils.forName
4Web pages
IllegalArgumentExceptionClassUtils.forName()4

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.springframework.util.ClassUtils.forName
4Web pages
ClassNotFoundExceptionClassUtils.forName()4

ClassUtils.forName() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
7 frames hidden
org.springframework.util.ClassUtils.forName
4Web pages
ClassNotFoundExceptionClassUtils.forName()4
Nothing to list here.
Nothing to list here.
Nothing to list here.