This is the bulletinboard-ads sample application code used in the openSAP course: Cloud-Native Development with SAP Business Technology Platform (formerly SAP Cloud Platform).
When I try to cf push, I get an error, so my app won't start:
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT at java.lang.Thread.run(Thread.java:748)
2018-05-08T12:48:31.02+0200 [APP/PROC/WEB/0] OUT Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
...
When I try to
cf push
, I get an error, so my app won't start:I fixed this by adding
to my pom.