org.springframework.beans.BeanInstantiationException: Could not instantiate >>> bean class [org.apache.lens.cli.commands.LensConnectionCommands]: >>> Constructor threw exception; nested exception is >>> java.lang.ExceptionInInitializerError at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at >>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at >>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at >>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at >>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at >>> org.springframework.shell.Bootstrap.initPluginApplicationContext(Bootstrap.java:131) at >>> org.springframework.shell.Bootstrap.createApplicationContext(Bootstrap.java:120)

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

Solutions on the web

via lens-user by Sneh, 1 year ago
Could not instantiate >> bean class [org.apache.lens.cli.commands.LensConnectionCommands]: >> Constructor threw exception; nested exception is >> java.lang.ExceptionInInitializerError at
via lens-user by amareshwarisr ., 1 year ago
Could not instantiate >>> bean class [org.apache.lens.cli.commands.LensConnectionCommands]: >>> Constructor threw exception; nested exception is >>> java.lang.ExceptionInInitializerError at
via lens-user by amareshwarisr ., 1 year ago
Could not instantiate > bean class [org.apache.lens.cli.commands.LensConnectionCommands]: > Constructor threw exception; nested exception is > java.lang.ExceptionInInitializerError at
via lens-user by Sneh, 1 year ago
Could not instantiate >>>> bean class [org.apache.lens.cli.commands.LensConnectionCommands]: >>>> Constructor threw exception; nested exception is >>>> java.lang.ExceptionInInitializerError at
org.springframework.beans.BeanInstantiationException: Could not instantiate >>> bean class [org.apache.lens.cli.commands.LensConnectionCommands]: >>> Constructor threw exception; nested exception is >>> java.lang.ExceptionInInitializerError at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at >>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at >>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at >>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at >>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at >>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at >>> org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at >>> org.springframework.shell.Bootstrap.initPluginApplicationContext(Bootstrap.java:131) at >>> org.springframework.shell.Bootstrap.createApplicationContext(Bootstrap.java:120)
at org.springframework.shell.Bootstrap.(Bootstrap.java:73)
at org.springframework.shell.Bootstrap.main(Bootstrap.java:60)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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