I am getting this error on tomcat start. java.lang.NoClassDefFoundError: org/elasticsearch/transport/Netty4Plugin
I am using elasticsearch-6.0.0.jar, transport-5.6.4.jar. In maven it showed 5 other jars having compiler dependecy with transport.jar . I added even those 5 in my classpath. Still I am getting this error. Basically my project was using elasticsearch-1.7 and I am trying to upgrade it.
I changed the transport jar to 6.0. My elasticsearch server is 6.0.1. My project is SVN. I am not using pom.xml. All the required jars I am downloading manually and adding into my classpath.
I know it sound weird. I was running the method through main and whenever I got class not found exception I was finding those jars and adding. Actually the issue which I mentioned seems to work now, but still my tomcat is not starting. java.lang.IncompatibleClassChangeError: Implementing class.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.