Im creating a message publishing application on eclipse for the minute there is no GUI involved it is just going to be running from the console. But when I compile and try to run the server class I get an error saying
The weird thing is the error on server.java line 24 is just a constructor creating a message class. I asked my tutor about this and he said it was some issue with the classpath not being defined properly in the IDE. I have tried compiling it and running it from command prompt and it works find it is just an Eclipse issue I believe. I have tried looking for an answer myself online but haven't come up with anything. If anyone has come across this before, how did you solve it?
question from:
https://stackoverflow.com/questions/65922978/eclipse-java-issue-with-the-class-path 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…