Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » selection does not contain main type - Java Spring( )
selection does not contain main type - Java Spring [message #648473] Wed, 12 January 2011 23:45 Go to next message
Eclipse UserFriend
Hi,

I am new to Eclipse and have installed 3.4.2 version.
When I try to run a simple Spring program, I get the error " selection does not contain main type".

I right click on the Java file that has the main method and then Run As - Java App.
My program does contain the main method.

Can anyone please help me to resolve this issue?

I would really appreciate it.

Thanks in advance.
Re: selection does not contain main type - Java Spring [message #648986 is a reply to message #648473] Mon, 17 January 2011 00:10 Go to previous message
Eclipse UserFriend
main should be exactly public static void main(String[] args)
Previous Topic:how to use jdt for batch rename
Next Topic:Cannot not start Java program in eclipse
Goto Forum:
  


Current Time: Wed Jul 23 17:48:28 EDT 2025

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

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

Back to the top