Why can't my jar files and my .war file be found within my project build? Maven
问题 Ok so I'm trying to test my Maven app locally with this command: java -jar target/dependency/jetty-runner.jar target/*.war But I'm getting this error: "Unable to access jarfile target/dependency/jetty-runner.jar." It also can't seem to access my .war file. I don't know what's going on. I tried manually downloading the jetty-runner.jar file and exporting my project into a war, and then running the command from my desktop where the two files were located, and that worked. So it's gotta be a