It's not a secret anymore!
The moose likes Beginning Java and the fly likes java.lang.Error: Unresolved compilation problem: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java.lang.Error: Unresolved compilation problem: " Watch "java.lang.Error: Unresolved compilation problem: " New topic

java.lang.Error: Unresolved compilation problem:

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Peter Taucher
Ranch Hand

Joined: Nov 18, 2006
Posts: 174
I might have missed the 'question' here. What do you want to know? I assume your code doesn't run. Why not listen to the compiler, that states clearly that he doesn't like unreachable code?

Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
Sudhakar Duraiswamy
Ranch Hand

Joined: Dec 20, 2007
Posts: 43
Hi Jose,
I understand your eagerness , in getting your issue solved . But posting an incomplete question ,with not much of data
doesnt help anyone ,does it.

Please go through this section and posting questions appropriately ,which not only encourages users to answer to your queries , your post stand a chance of getting solved/answered

Happy Ranching.

SCJP 5.0 93%| SCWCD (prep. ongoing))
Rob Spoor

Joined: Oct 27, 2005
Posts: 20275

Again someone who programs in an IDE, then runs his program while there are still compiler errors.

Jose, check out these compiler errors. They will tell you what is going wrong. My guess is you've got an unreachable code error - the code inside the loop will never execute. That also counts for the if statement but because of debugging constants you might change (e.g. private static final boolean DEBUG = false;) using false in if statements will not cause compiler errors.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: java.lang.Error: Unresolved compilation problem:
It's not a secret anymore!