org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.search.elasticsearch.ElasticSearchService' defined in file [/usr/local/sakai/components/elasticsearch-component/WEB-INF/components.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/util/Version

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 Sakai JIRA by Stephen Marquard, 1 year ago
Error creating bean with name 'org.sakaiproject.search.elasticsearch.ElasticSearchService' defined in file [/usr/local/sakai/components/elasticsearch-component/WEB-INF/components.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/util/Version
via Sakai JIRA by Stephen Marquard, 1 year ago
Error creating bean with name 'org.sakaiproject.search.elasticsearch.ElasticSearchService' defined in file [/usr/local/sakai/components/elasticsearch-component/WEB-INF/components.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/util/Version
via sakaiproject.org by Unknown author, 1 year ago
Error creating bean with name 'org.sakaiproject.search.elasticsearch.ElasticSearchService' defined in file [/usr/local/sakai/components/elasticsearch-component/WEB-INF/components.xml] : Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/util/Version
via cnblogs.com by Unknown author, 1 year ago
Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: No persistence units parsed from {classpath*:META-INF/persistence.xml}
via Stack Overflow by Boopathi
, 2 years ago
Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/dispactherServlet.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchFieldError: TRACE
via Stack Overflow by jonatzin
, 2 years ago
Error creating bean with name 'bookDAOImpl' defined in file [P:\SourceControl\EclipseWorkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\WebLibraryManagemenet\WEB-INF\classes\com\LibraryManagement\access\impl\BookDAOImpl.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'dataSource' or 'jdbcTemplate' is required
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.search.elasticsearch.ElasticSearchService' defined in file [/usr/local/sakai/components/elasticsearch-component/WEB-INF/components.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/lucene/util/Version
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at org.sakaiproject.component.impl.SpringCompMgr.get(SpringCompMgr.java:241)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 month ago
231 more bugmates

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