Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » running a project - error "main type"
running a project - error "main type" [message #46347] Sun, 03 April 2005 22:44
Eclipse UserFriend
Originally posted by: laurence.mediacult.com

I create a new project
I import a directory and a java file into it

I try to run it and get the error: "the selection does not contain a main
type"

I noticed that the compilation does not create the proper package structure
and skip the head of the package structure:

a file has package a.b.c
the class created is in b.c
what happened? Where to go to figure out how eclipse structures the
directory?

Laurie
Previous Topic:Recommended Eclipse books for Newbies
Next Topic:line numbers
Goto Forum:
  


Current Time: Wed Jan 15 10:12:58 GMT 2025

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

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

Back to the top