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.
Please sign in to leave a comment.
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.
Thanks