Hallo,
ich habe ein Projekt ausführen wollen und folgende Meldung kam :
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error, 'for each' statements are only available if source level is 5.0
Syntax error, annotations are only available if source level is 5.0
at test.main(Viewer.java:91)
Woran kann das liegen? Es sind auch überall im Code Fehlerstellen (rotes Kreuz mit Glühbirne), obwohl der Code eigentlich fehlerfrei ist auf einem anderen Rechner.
Kann mir jemand helfen? Hatte sowas noch nicht.
Danke
ich habe ein Projekt ausführen wollen und folgende Meldung kam :
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error, 'for each' statements are only available if source level is 5.0
Syntax error, annotations are only available if source level is 5.0
at test.main(Viewer.java:91)
Woran kann das liegen? Es sind auch überall im Code Fehlerstellen (rotes Kreuz mit Glühbirne), obwohl der Code eigentlich fehlerfrei ist auf einem anderen Rechner.
Kann mir jemand helfen? Hatte sowas noch nicht.
Danke