Deploying Kotlin Spring Boot Application Via WebSphere

I've written a Spring Boot microservice in Kotlin using IntelliJ Idea where it runs fine locally. I need to deploy it via WebShpere but am having problems launching the WAR there.

The main class of the microservice is as follows

import org.springframework.boot.autoconfigure.SpringBootApplication

import org.springframework.boot.runApplication

@SpringBootApplication

class MyApplication

fun main(args: Array) {

runApplication(*args)

}

After creating the WAR using mvn clean install, if I deploy it via WebSphere with just this class the SystemOut.log file shows that the service doesn't launch at all. There is no log entry reading "Started MyApplication in... "

Another developer added the following class to the...

Read More »

By: StackOverFlow - 5 days ago

Related Posts