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

  1. ,
    Expert tip

    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

Solutions on the web

via Oracle Community by Mohan Basavarajappa, 1 year ago
Error creating bean with name 'ssolistener' defined in class path resource [SSOConfig.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via solutionscore.com by Unknown author, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
via solutionscore.com by Unknown author, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError
via spring.io by Unknown author, 1 year ago
Error creating bean with name 'jdbcTemplate' defined in class path resource [springWithJDBC.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
via Oracle Community by 655526, 1 year ago
Error creating bean with name 'ssolistener' defined in class path resource [SSOConfig.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via oracle.com by Unknown author, 2 years ago
Error creating bean with name 'ssolistener' defined in class path resource [SSOConfig.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
java.net.UnknownHostException: TVMATP2495L: nodename nor servname provided, or not known	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)	at java.net.InetAddress.getLocalHost(InetAddress.java:1469)	at net.sf.ehcache.distribution.RMICacheManagerPeerListener.calculateHostAddress(RMICacheManagerPeerListener.java:167)	at net.sf.ehcache.distribution.RMICacheManagerPeerListener.(RMICacheManagerPeerListener.java:124)	at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:102)	at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCachePeerListener(RMICacheManagerPeerListenerFactory.java:84)	at net.sf.ehcache.config.ConfigurationHelper.createCachePeerListeners(ConfigurationHelper.java:314)	at net.sf.ehcache.CacheManager.configure(CacheManager.java:434)	at net.sf.ehcache.CacheManager.init(CacheManager.java:302)	at net.sf.ehcache.CacheManager.(CacheManager.java:234)	at com.fatwire.cache.ehcache.EhCacheObjectCache._initCache(EhCacheObjectCache.java:730)	at com.fatwire.cache.ehcache.EhCacheObjectCache.start(EhCacheObjectCache.java:564)	at com.fatwire.wem.sso.cas.cache.SessionMappingStorage.(SessionMappingStorage.java:48)	at com.fatwire.wem.sso.cas.listener.CASListener.(CASListener.java:15)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)	at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)	at com.fatwire.wem.sso.DynamicInjector.(DynamicInjector.java:52)	at com.fatwire.wem.sso.DynamicInjector.instance(DynamicInjector.java:234)	at com.fatwire.wem.sso.SSOFilter.init(SSOFilter.java:65)	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:298)	at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:119)	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4076)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4730)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)	at org.apache.catalina.core.StandardService.start(StandardService.java:525)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)