java.lang.ClassNotFoundException: org.elasticsearch.node.NodeValidationException from [Module "deployment.***" from Service Module Loader]


(Kk Bh) #1

We are upgrading to ES 5.1.1. While deploying the application I see below error -

stratas | 06:48:48,180 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."stratas-webapp.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."stratas-webapp.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "stratas-webapp.war"
stratas | at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
stratas | at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
stratas | at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
stratas | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
stratas | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
stratas | at java.lang.Thread.run(Thread.java:745)
stratas | Caused by: java.lang.RuntimeException: WFLYSRV0177: Error getting reflective information for class com.spartasystems.stratas.web.ui.AppServerStartupBean with ClassLoader ModuleClassLoader for Module "deployment.stratas-webapp.war:main" from Service Module Loader
stratas | at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
stratas | at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:57)
stratas | at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:106)
stratas | at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:91)
stratas | at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:76)
stratas | at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
stratas | ... 5 more
stratas | Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/node/NodeValidationException
stratas | at java.lang.Class.getDeclaredFields0(Native Method)
stratas | at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
stratas | at java.lang.Class.getDeclaredFields(Class.java:1916)
stratas | at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.(ClassReflectionIndex.java:72)
stratas | at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
stratas | ... 10 more
stratas | Caused by: java.lang.ClassNotFoundException: org.elasticsearch.node.NodeValidationException from [Module "deployment.stratas-webapp.war:main" from Service Module Loader]
stratas | at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
stratas | at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
stratas | at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
stratas | at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
stratas | ... 15 more

If anyone has come across this error, kindly help me with the solution.

Let me know if any info is needed.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.