org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Unknown author,
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) ... 1 more Caused by: java.lang.reflect.MalformedParameterizedTypeException at java.lang.Class.getGenericSuperclass(Class.java:694) at com.sun.beans.TypeResolver.prepare(TypeResolver.java:274) at com.sun.beans.TypeResolver.<init>(TypeResolver.java:243) at com.sun.beans.TypeResolver.resolve(TypeResolver.java:172) at com.sun.beans.TypeResolver.resolveInClass(TypeResolver.java:93) at java.beans.FeatureDescriptor.getParameterTypes(FeatureDescriptor.java:385) at java.beans.MethodDescriptor.setMethod(MethodDescriptor.java:116) at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:74) at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:58) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1196) at java.beans.Introspector.getBeanInfo(Introspector.java:423) at java.beans.Introspector.getBeanInfo(Introspector.java:189) at java.security.AccessController.doPrivileged(Native Method) at grails.plugins.springsecurity.SecurityTagLib$__clinit__closure13.<init>(SecurityTagLib.groovy) at grails.plugins.springsecurity.SecurityTagLib.<clinit>(SecurityTagLib.groovy) ... 3 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.