79091236

Date: 2024-10-15 18:17:56
Score: 0.5
Natty:
Report link

Java search for getResources(), from the working directory, you can locate it using:

System.out.println( System.getProperty( "user.dir" ));

Probably, this print:

xxx/org/example/ooplibrary

Then your call should be:

URL url = this.getClass().getResource( "/View/LogInView.fxml" );
        
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marce Puente