Eclipse recognizes incorrect default webapp
directory.
Therefore we should set clearly it by maven-war-plugin
.
org.apache.maven.plugins
maven-war-plugin
3.0.0
src/main/webapp
Once saving this setting, the error will never occour if removed it.
(I cannot explain why.)