Hi, 2016-08-12 15:01 GMT+03:00 leonidprokopets <ago-ukra...@hotmail.com>: > > Does anyone know which version of tomcat-catalina.jar contains a Bootstrap class with getCatalinaHomeFile() method? > > I'm using Tomcat 8.0 and Eclipse Neon 4.6.0 > > I'm getting an error > java.lang.NoSuchMethodError: org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile()Ljava/io/File; > So obviously the Bootstrap class does not have the method.
Check carefully your dependencies. This method is available in Tomcat 8.0 and above, but it is not available in Tomcat 7. http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java?view=markup#l534 http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/startup/Bootstrap.java?view=markup#l547 http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Bootstrap.java?view=markup#l547 Regards, Violeta > Thanks in advance for any hint.