HILFE! Class wird doppelt erzeugt

mcm19

Mitglied
1608665481045.png

Ich hab ein Problem. Als ich heute eine Aufgabe gemacht habe, habe ich leide iwohin gedrückt. Seitdem habe ich Probleme beim erstellend der "class"
Wenn ich eine Klasse erstellen will, wird automatisch 2 Klassen erzeugt. Bis jetzt war es nie so... Woran kann das eig liegen?
 

httpdigest

Top Contributor
Vielleicht gibst du einfach mal _etwas_ mehr Details?
- Sind die Klassen in einem benamten Package oder dem default Package?
- Ist das die Package Explorer Sicht oder die Navigator Sicht oder eine andere?
- Ist das Ganze ein Standard Eclipse Projekt oder ein Maven/Gradle Projekt?
- welche exakte Eclipse Version nutzt du?

Versuche vielleicht erstmal, im Menü "Window" > "Perspective" > "Reset Perspective...", ob das das Phänomen behebt.
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
E Hilfe mit Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Hilfe Demo IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 18
B Neuling braucht Hilfe bei Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
W Eclipse Hilfe bei Erstellung eines Umrechners IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 13
A Eclipse Absturz beim Öffnen der Hilfe IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
G Hilfe zu Doxygen gesucht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
U [Eclipse 3.4] Hilfe-Popups IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 10
O Eclipse 3.2 - Hilfe Popup ist weg IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
F Java 6 Keine Hilfe in Eclipse verfügbar IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 21
tobiasbeil Eclipse Profiler Colorer 0.5.33: brauche Hilfe. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
TRunKX HILFE mein Eclipse spinnt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
A [JBuilder] - Keine Hilfe vorhanden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Probleme beim erstellen von Java Class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
T Eclipse Git "Could not find or load main class" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
T NetBeans NetBeans IDE 13 | Cannot find main class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J Error: Could not find or load main class xyz (Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
I Eclipse Ant: Class not Found IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
H Eclipse SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
J NetBeans Netbeans, Linux -> Was ist ein "bootstrap class path error" und wie kann man das wegbekommen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
R Auf einmal viele Class-Files weg IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 16
M Eclipse Class-Datei exportieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
C Eclipse Wie kann ich .class-Datei mit eclipse importieren? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
E Eclipse Jar-File [,,Could not find the main class - program will exit"] IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 25
R Eclipse Class File Editor IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
S Eclipse Versionswechsel, visual class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S JBuilder [ANT] Anfängerfragen zu ANT und der main class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S NetBeans Serializable Class ohne package IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
H diverse IDEs: main-class nicht gefunden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
C Eclipse Open Type soll keine .class anzeigen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N NetBeans "main class not found" in NetBeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
S NetBeans class, jar, package. Wie am besten machen bei Applet mit Web-Projekt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
B Eclipse: Could not find the main Class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 15
sc0p Eclipse: .class nicht editierbar IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J NetBeans JUnit 4.5: initialization Error caused an ERROR: Test class can only have one constructor IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
J class-File-Splitter-Tool gesucht IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A IntelliJ zeigt meine class-Files nicht an!? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse, Breakpoints, TimerThread,class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
J class-dateien verschwunden (eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
S NetBeans; Anfängerfragen.insbesondere zur Main - Class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G class not found exception / Source not found - Eclipse Ganym IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
K class importieren [eclipse] IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
J Eclipse erzeugt mir keine .class-Dateien mehr IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
G Eclipse: .class wird nicht angelegt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
E could not fin d the main class. program will now exit IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 14
M mal wieder Could not finde the main class.Program will exit IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N Eclipse-Class-Date in Tomcat - Bad Version Number IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
B Externe Class-Dateien ins Jar-Archiv aufnehmen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
G Eclipse - Class-Dateien einfügen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
S Verwendung von class-Dateien in Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M [Netbeans] Class Datei einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
S Borland JBuilder: .class bzw. .jar erstellen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
J Fenster öffnen per Button klick erstellt mit Visual Class IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
M NetBeans 3.6: class-Files Ausgabepfad festlegen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
M Eclipse - Class File Editor -> Source not found IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
O Escape-Sequenzen in Java \b wird in Konsole falsch dargestellt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
P PHP Skript wird nicht mit highlights markiert(Eclipse) IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 6
jan_89 args, wird Automatisch hinzugefügt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Javadoc Klassen-Dokumentation wird nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
H Outline Fenster (Gliederung) wird mit deutschem Sprachpaket nicht angezeigt, Eclipse IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
J Klasse wird doppelt angezeigt in der IDE IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
pkm Bild wird nur dann angezeigt, wenn es auch in der IDE bekannt ist. IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
M Eclipse Palette JSF wird nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
F Eclipse Eclipse Windowbuilder Designvorschau: Frame wird nicht richtig angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
Y Java Editor Eclipse WindowsBuilder wird nicht richtig angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
VfL_Freak Eclipse neues JRE wird nicht gefunden ... IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
J Eclipse Icon aus res Ordner wird nicht beim Exportieren angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 8
WetWer Welcher Java Editor wird empfolen? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 12
WetWer NetBeans Wird NetBeans eigentlich noch unterstützt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
S Eclipse sysout - Template wird nicht eingefügt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
T Eclipse Mithilfe eines Plugins den Source Code, bevor an den Parser übergeben wird, modifizieren IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
L NetBeans JTable wird nicht mit Daten aus File abgefüllt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 0
B IDEA IntelliJ JDK wird nicht erkannt und lässt sich nicht einbinden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
agent47 Eclipse Eclipse wird mit der zeit träger IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 17
S 9 patch Tool, png wird mit Rand dargestellt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
P Eclipse Lib wird in einem bestimmten Projekt nicht erkannt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
L Eclipse Meldung: Von der Verwendung des Standardpakets wird abgeraten IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
K Eclipse txt Datei wird nicht gelesen??? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 1
reibi Eclipse PackageExplorer, .project und .classpath wird angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Grafik wird nicht mitgeladen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
T Eclipse Code wird "versteckt" IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 3
V Warum wird Eclipse mit einer .exe gestartet IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
L Eclipse Eclipse Workspace wird nicht mehr geladen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
M Eclipse wird langsamer IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 20
T Eclipse / von wird überall wird eine bestimmte Methode aufgerufen IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
B Beim erstellen einer .jar Datei wird fremde Library nicht erkannt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
N Eclipse fehler wird nicht gestartet IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 35
X Eclipse UpdateSite-neue Plugin Version wird nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 5
F Statische Methode aus Bibliotheksklasse wird nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 11
G Wird der Visual Editor für Eclipse weiterentwickelt? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 4
G vorgegebene LayoutManager wird nicht angenommen in Netbeans IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
L tomcat wird in eclipse nicht angezeigt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
G Eclipse wird immer langsamer IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 9
J Frame wird beim start zu klein dargestellt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
T Eclipse 3.1: Klasse wird nicht kompiliert? IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 2
A Bei der Installation von NetBeans wird kein JDK gefunden IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7
J Eclipse 3.0: Plugin wird nicht erkannt IDEs - Eclipse, IntelliJ IDEA, BlueJ & mehr 7

Ähnliche Java Themen

Neue Themen


Oben