File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Editor does not contain a main type. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Editor does not contain a main type." Watch "Editor does not contain a main type." New topic
Author

Editor does not contain a main type.

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
I get a error, editor doesnt contain a main type. What does this mean ? I have a main in my pogram, so not sure why am getting this error. And also the code was working before as normal. Please assist.
jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Am using RAD 7.0
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19685
    
  20

You don't have a class with a public static void main method, or at least the currently active class doesn't have this.

Moving to our IDEs forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What *precisely* is happening, and under what circumstances? If you're having an issue with Eclipse itself, I've seen errors similar to this when the workspace gets corrupted.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Editor does not contain a main type.