Use Spring MVC MultipartFile, Java Path APIs and the browser fetch API to upload files asynchronously and save them safely on the server. Follow the essential steps to download Java 21, configure ...
If so, that entails some additional folder structure for java to find the files properly. The second, more likely possibility is that java can't find the Project1 class in the classpath.