Main.java is not on the classpath of project myartifactid, only syntax errors are reported

Problem description:
Main.java is not on the classpath of project myartifactid, only syntax errors are reported
error always in all of my repls

Expected behavior:
Debugger works normally. All errors highlighted

Actual behavior:
Only syntax errors were reported and the debugger can’t highlight running code, which forced me to use VsCode instead of Replit since this is a class repl (can’t bug fix in class).

image

The one on the bottom as you can see, debugger on line 628, but no highlight.

Steps to reproduce:
No Clue. It is on all my replits only.

Bug appears at this link:
PuzzlingYouthfulOutcomes- Replit
and
HelplessMajesticCalculators - Replit

Browser/OS/Device:
Microsoft Edge / Windows 10 / HP Prodesk

@NathanGibussa Works fine for me

The project works yes, it’s just that when it comes down to bug fixing and whatnot, it basically becomes impossible without using a different editor.

Try after you run in Shell:

mkdir -p src/main/java
mv *.java src/main/java

If you ever want to revert:

mv src/main/java/* .
rm -r src/main/java

So it’s in a folder that is on the classpath. For some reason the .classpath file is regenerated so I don’t think you can configure it to use a different folder.

1 Like

Definitely solves the Error problem, but it doesn’t solve the highlighting debugger one

Thanks UMAR, that works, thank you very much!! Thomas