org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kcbpFactory' defined in ServletContext resource [/WEB-INF/conf/spring-config/bex.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Steve Eastwood

You need to deploy aspectJ (aspectjweaver.jar) together with your application. Add it to your pom.xml

Solutions on the web

via educity.cn by Unknown author, 1 year ago
Error creating bean with name 'kcbpFactory' defined in ServletContext resource [/WEB-INF/conf/spring-config/bex.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
via Coderanch by madhu chennai, 10 months ago
Error creating bean with name 'myPortfolioService' defined in PortletContext resource [/WEB-INF/context/portlet/myportfolio.xml]: Initialization of bean failed; nested exception is java.lang.InternalError: erroneous handlers
via Oracle Community by Parihar, 1 year ago
Error creating bean with name 'analystDataPool' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/analyst in /app/webapp/admin_tools.war/269864419.; remaining name 'comp/env/jdbc/analyst'
via gmane.org by Unknown author, 1 year ago
Error creating bean with name 'centralAuthenticationService' defined in ServletContext resource [/WEB-INF/cas-spring-config/applicationContext.xml]: Initialization of bean failed; nested exception is
via Stack Overflow by rpeddi
, 2 years ago
Error creating bean with name 'messageSource' defined in ServletContext resource [/WEB-INF/applicationContext-resources.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is
via Atlassian JIRA by Lars Nielsen, 1 year ago
Error creating bean with name 'sessionFactory' defined in class path resource [databaseSubsystemContext.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: CGLIB Enhancement failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kcbpFactory' defined in ServletContext resource [/WEB-INF/conf/spring-config/bex.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:144)
at orntext.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:321)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.