Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unresolved compilation problem(Program code won't run)
Unresolved compilation problem [message #1778622] Mon, 18 December 2017 22:30 Go to next message
Ward Cornette is currently offline Ward CornetteFriend
Messages: 1
Registered: December 2017
Junior Member
For class we occasionally have to study Java scripts and therefore often have to execute one but this one we got doesn't execute.

You can see the code and error in the attachment.

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

at defaultpackage.PrintThread1.main(

What could be the problem?

Re: Unresolved compilation problem [message #1778624 is a reply to message #1778622] Tue, 19 December 2017 00:19 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3276
Registered: July 2009
Senior Member

This means you have a Compile-time problem that has been allowed for the sake of letting you keep working. Check the Problems View. I'm guessing you forgot to actually declare, within your source, what package each class belongs to.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:blinking cursor
Next Topic:INFO: No Spring WebApplicationInitializer types detected on classpath
Goto Forum:

Current Time: Wed Oct 17 20:46:57 GMT 2018

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

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

Back to the top