J
J
Janjabuja2018-05-25 00:07:08
Java
Janjabuja, 2018-05-25 00:07:08

How to compile mvn project into bold jar?

When launched through Idea, everything works, namely the sound on the page, but when I compile it with maven, everything works except for the sound. Writes the following error:
Request URL: localhost:8080/voice/%D0%90.mp3
Request Method: GET
Status Code: 404
Remote Address: [::1]:8080
Referrer Policy: no-referrer-when-downgrade I
specify the path like this way in the js script target.setAttribute('src', nameVoice2);
Again, I repeat, everything works correctly when I run the project through idea, but when the same mvn clean package project does not work and gives this error that it allegedly cannot find this file

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question