Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Exception in thread "main" java.lang.Error: Unresolved compilation problem
Exception in thread "main" java.lang.Error: Unresolved compilation problem [message #1386719] Thu, 19 June 2014 19:49
Sam Sollmann is currently offline Sam SollmannFriend
Messages: 1
Registered: June 2014
Junior Member
Hello,

I am having problems running a program that I have had no problems with before. The problem I'm having is that I get the following error:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

	at example.Example.main(Example.java:5)


Obviously this is a valid setup for a program, so I'm not sure what to do. I think Eclipse is the problem, but I tried an older version of Eclipse, and it still didn't work. I don't know what to do.

1 package example;
2
3 public class Example
4 {
5     public static void main(String[] args)
6     {
7         System.out.println("It works!");
8     }
9 }
Previous Topic:Accessing project subfolders/modules as separate folder
Next Topic:Why the preference page can not change the default encodig of the jsp file?
Goto Forum:
  


Current Time: Mon Dec 09 13:36:10 GMT 2024

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

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

Back to the top