Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Editor does not contain a main type.

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using RAD 7.0
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic