I am deploying a REST application in PCF. Application was developed using spring boot in Spring tool suite (STS) IDE. I have added cloud foundry plugin and added the application to PCF from STS. It gives me a start up error.
I tried all options available over internet , even then ended up with following error
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/SpringApplication
I did checked my snapshot jar where it has the dependency jar in the lib folder which contains the SpringApplication class.
One peculiar thing is , my application started and working fine when i push the application to PCF from CLI
Am i missing anything in STS ?