I am trying to access an html file that I created in vsCode through java using the app.use Middleware Function but it doesn’t seem to be working.
This is a view of the error and what I am trying to do exactly
try {
app.use(Middleware.statics(Paths.get("src/www").toString()));
} catch (IOException e) {
e.printStackTrace();
}