I have created a Spring Boot application, I have build the project and selected the main class and I have also added properties in my pom.xml:
<properties>
<java.version>1.8</java.version>
<start-class>com.mua.scraper.ScraperApplication</start-class>
</properties>
Now the problem is when I try to run the .jar
file, it tell me that MainClassNotFound
. Here is a snap:
Later project will be opend here
After changing the command, here is my output:
Error:
No main artifact