kotlin with springloaded on eclipse

130 views Asked by At

I've tried Kotlin with springloaded on spring-boot , eclipse for simple web. For Java class it can do hot deploy. But not for Kotlin file.

pom.xml is almost exactly from http://start.spring.io/ except add springloaded.

<build>
    <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>

    <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <dependencies>
                    <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>springloaded</artifactId>
                        <version>1.2.6.RELEASE</version>
                    </dependency>
                </dependencies>
            </plugin>
    </plugins>
</build>
0

There are 0 answers