Tomcat cannot access the font file .woff .woff2 .ttf .eot

make sure my access path URL is correct, see below.
[test@testfonts] $ls
a.html fontawesome-webfont.674f50d.eot fontawesome-webfont.b06871f.ttf wordDic
asd.jpg fontawesome-webfont.af7ae50.woff2 fontawesome-webfont.fee66e7.woff
[test@testfonts] $
[test@testfonts] $curl http://127.0.0.1:9083/app3/dist/static/css/static/fonts/a.html
ok
but when I access the font file When-- 404
[test@test fonts] $curl http://127.0.0.1:9083/app3/dist/static/css/static/fonts/fontawesome-webfont.fee66e7.woff
You have mail in / var/spool/mail/test
[test@test fonts] $
View log:
127.0.0.1-- [23/Nov/2018:11:41:03 + 0800 ] "GET / app3/dist/static/css/static/fonts/fontawesome-webfont.fee66e7.woff HTTP/1.1" 404-

-- Tomcat all fonts on my site are 404. I would like to ask how to solve the problem.

Dec.08,2021

I'm not sure whether the corresponding mime-mapping? has been added to the web.xml.

Menu