Kotlin Spring boot issue

Hi friends I’m new to kotlin, I just develop simple kotlin application with spring boot. Development process was done. Now I’m trying to deploy the application so I get deployment file (Jar/War) by using gradle bootWar command , I successfully get that file but I’m not able run that file using java -jar application.jar

I’m getting some error I don’t know what is the error.?

Error details and code available in this below stackoverflow Link please help me to fix this issue. Thanks in advance

This issue was fixed now the actual issue is spring Dev tool , I added a spring Dev tool as developmentonly so there is an issue in spring boot development only method exclude some the jar in fat jar so this issue was happened now I just remove that now working fine