Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Set main class in Maven Project(Main class in Eclipse Maven)
Set main class in Maven Project [message #1786190] Thu, 26 April 2018 15:58 Go to next message
Pradeep Thomas Thundiyil is currently offline Pradeep Thomas ThundiyilFriend
Messages: 1
Registered: April 2018
Junior Member
Not able to set Main class in a Maven Project in Eclipse Oxygen
Re: Set main class in Maven Project [message #1786348 is a reply to message #1786190] Tue, 01 May 2018 20:27 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1649
Registered: July 2009
Senior Member
What you show is the configuration for launching a Maven build. There is no use in defining a Main class for this.
If you don't want to build, but want to run your application then choose "Run as ... > Java Application" instead of "Run as ... > Maven build ...".
Previous Topic:Plans on supporting Java 10 and 11 in Eclipse Photon
Next Topic:Problem with annotations
Goto Forum:

Current Time: Mon Nov 12 22:40:00 GMT 2018

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top