0

enter image description here .

I have three static.txts in my project, but a 404 error occurs when I access to https://magicsapp.herokuapp.com/static.txt.

src/main/resources/application.properties has this line,

static.resource.location=/META-INF/resources/

but when I commit, a warning comes:

Warning:(1, 1) Cannot resolve configuration property 'static.resource.location'

Which file (or what path) is actually accessed when I connect to that address?

Henry Kwon
  • 101
  • 1
  • 3
  • 12

1 Answers1

0

Solved. The answer was src/main/resources/static/static.txt.

Henry Kwon
  • 101
  • 1
  • 3
  • 12