Dynatrace installation : org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [StandardService[Catalina]] in state [INITIALIZED]

Are you getting a life cycle exception during server start. This is actually because you followed hybris wiki blindly, without reading instructions carefully.

While installing a dynatrace for your hybris project, you need to add few parameter to tomcat, so that dynatrace agent is loaded. But probably, you overridden all tomcat options.

Solution is to copy tomcat.generaloptions from project.properties of platform extension and add dynatrace properties in the end.

tomcat.generaloptions=-Xmx2G …..-Djava.io.tmpdir=”${HYBRIS_TEMP_DIR}” ${dynatrace.jvm-opts}

Restart cmd and run build again.