Spring Initializr Maven Project jar demo build exception

Answered

Maven Project
Packaging : Jar 
Java Version : 1.8
Language : Kotlin/Java
Build exception:
Error: Main method not found in class com.vignesh.RestfuldemoApplication, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application

The above exception occurs even when the main method is defined properly
I have latest version of IntelliJ Idea Ultimate

Please help.

0
2 comments

Please file an issue at https://youtrack.jetbrains.com/issues/IDEA with the sample project to reproduce attached, also attach idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085), you can't attach files to this forum.

0

Please sign in to leave a comment.