eclipse - cannot find symbol
I get the error 'cannot find symbol' in eclipse.
The ^ is pointing at the dot.
What i did was overwrite the cor.jar from 1.5.1 with the one from 2.0.
i all ready found this on another forum
Sometimes you can get yourself into a state where your .class files come from an older version of your source, but have newer timestamps than the source; the compiler will then look at the old/new class files and not the source code, and you'll get an error like this that doesn't make sense based on the source.
Carefully delete every "Customer.class" you can find -- you might have some hiding in strange places, so look carefully -- and then try compiling again.
I found them in my bin/doeke/path folder
I deleted the CVector.class, after that tried to compile again but still failed.
I looked in the folder but it didn't even recreate it.
If i do Project > Clean (which i have to do a lot due a annoying eclipse bug) then it recreates the file.
I think that the errors only point to new added methods for processing 2.0.
What can i do?
- [javac] /Users/doekewartena/Documents/workspace/PPath/tmp/PPath/src/doeke/path/CVector.java:146: cannot find symbol
- [javac] symbol : method random2D()
- [javac] location: class processing.core.PVector
- [javac] return PVector.random2D();
- [javac] ^
- [javac] /Users/doekewartena/Documents/workspace/PPath/tmp/PPath/src/doeke/path/CVector.java:156: cannot find symbol
- [javac] symbol : method random2D(processing.core.PApplet)
- [javac] location: class processing.core.PVector
- [javac] return PVector.random2D(parent);
- [javac] ^
- [javac] /Users/doekewartena/Documents/workspace/PPath/tmp/PPath/src/doeke/path/CVector.java:166: cannot find symbol
- [javac] symbol : method random2D(processing.core.PVector)
- [javac] location: class processing.core.PVector
- [javac] return PVector.random2D(target);
- [javac] ^