Eclipse Unresolved compilation

Habe ich in diesem wirklich seltsam problem, die Arbeit an einem grösseren Projekt in Eclipse Indigo 3.7.2.
Ich habe das Projekt aus einem SVN-repository mit dem Subclipse-plug-in und wenn ich die Anwendung starten bekomme ich folgende Fehlermeldung:

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

at anares.preprocess.StanfordParser.getInstance(StanfordParser.java:73)
at anares.start.Startconsole.<init>(Startconsole.java:22)
at anares.start.Startconsole.main(Startconsole.java:52)

Dies ist, was Startconsole.class sieht aus wie mit der main-Methode:

package anares.start;

import java.io.FileNotFoundException;
import java.io.IOException;

import anares.core.AnaResAlgorithm;
import anares.preprocess.MorphaDornerSentenceSplitter;
import anares.preprocess.CollectionEquipper;
import anares.preprocess.ParserHandlerInterface;
import anares.preprocess.Preprocessor;
import anares.preprocess.SplitterInterface;
import anares.preprocess.StanfordParser;
import anares.text.AnaResTextObject;

public class Startconsole {

public final ParserHandlerInterface parserint = StanfordParser.getInstance();

public final SplitterInterface splitterint = MorphaDornerSentenceSplitter.getInstance();

public final CollectionEquipper equipperint = null;

public final static int buffersize = 5;

private Startconsole(String file) throws IOException {
    AnaResTextObject object = startPreprocess(file);
    startAlgorithm(object);
}

private AnaResTextObject startPreprocess(String file) throws IOException {
    Preprocessor prepro = new Preprocessor(parserint, splitterint,
            equipperint);
    AnaResTextObject textObject = prepro.preprocessText(file);
    return textObject;
}

private void startAlgorithm(AnaResTextObject object) {
    AnaResAlgorithm algo = new AnaResAlgorithm(buffersize);
    algo.resolveAnaphora(object);
}

public static void main(String args[]) throws FileNotFoundException,
        IOException {
    if(args.length > 0){
        Startconsole console = new Startconsole(args[0]);
    }else{
        Startconsole console = new Startconsole("Text.txt");
    }
    }
}

Als ich sagte, das ist ein größeres Projekt und enthält daher ein paar .jar-Dateien und Verweise auf andere Pakete.

Dieses problem tritt nur auf meinem laptop. Auf meinem anderen PC funktioniert alles einwandfrei, und ein Kommilitone von mir, wer arbeitet am gleichen Projekt, hat keine Probleme entweder.
Ich habe bereits versucht, die überprüfung des Projekts wieder raus, Reinigung und sogar die Neuinstallation von eclipse.

Nun, hier ist der seltsame Teil: Wenn ich den Kommentar aus dem ganzen main-Methode, nur etwas verlassen, wie

public static void main(String args[]) throws FileNotFoundException,
        IOException {
//     if(args.length > 0){
//         Startconsole console = new Startconsole(args[0]);
//     }else{
//         Startconsole console = new Startconsole("Text.txt");
//     }
    System.out.println("Hello World!");
}

Ich bekomme immer noch genau die gleiche Fehlermeldung mit dem genau gleichen Zeilennummern. Und kein "Hallo Welt!" in die Ausgabe.

Hat jemand irgendwelche Ideen, wo das problem herkommt?

InformationsquelleAutor codegirl | 2012-05-25
Schreibe einen Kommentar