Newbie installation question - java.lang.ClassNotFoundException

I followed the instructions given in https://docs.camunda.org/manual/7.13/installation/full/tomcat/manual/

and added

<Listener className="org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap" />

in the /opt/apache-tomcat-9.0.36/conf/server.xml before the GlobalResourcesLifecycleListener

I also copied camunda.war & engine-rest.war to /opt/apace-tomcat-9.0.36/webapps.

I started tomcat and check using the configtest option but it gives me the following error

$ /opt/apache-tomcat-9.0.36/bin/catalina.sh configtest

===
Using CATALINA_BASE: /opt/apache-tomcat-9.0.36
Using CATALINA_HOME: /opt/apache-tomcat-9.0.36
Using CATALINA_TMPDIR: /opt/apache-tomcat-9.0.36/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/apache-tomcat-9.0.36/bin/bootstrap.jar:/opt/apache-tomcat-9.0.36/bin/tomcat-juli.jar
Jun 26, 2020 5:35:53 AM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:104)
at org.apache.catalina.startup.ListenerCreateRule.begin(ListenerCreateRule.java:62)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1219)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)



Configuration error detected!

===

Can you please advise what have I done wrong? Thanks. Regards. Kim.

Hi @mig2,

I guess you have forgotten this step: https://docs.camunda.org/manual/7.13/installation/full/tomcat/manual/#add-required-libraries.

Hope this helps, Ingo

It’s working now. Thanks.