I have a large project and im adding classes and creating packages and as Im doing so the code highlighting and build functions seem to not work correctly. For example:

I have a package com.whatever.util that contains a class Utils.java.

I then add a new class to another package, say com.whatever.bla called MyNewClass.java and I import Utils. The package structure for both these checks out. Everythings fine until I build the entire project at which point it can't find Utils.

If however I open both files and make a blank change to Utils.java and save it, the code highlighing in MyNewClass.java disappears. Its as if build isn't working correctly but code highlighting is and they are conflicting. Also if I build Utils on its own it produces no errors, the code highlighting disappears in MyNewClass, but again if I build the whole thing the error returns.

Can someone suggest anything.

kvarnerexpress

Reply