In my case, it was because I had a webapp (called ROOT) which just had index.html and no WEB-INF/web.xml file. As a result, the default setting in tomcat's code is not to use absolute ordering. To fix it, I simply created that folder and file with just the <absolute-ordering/>
tag inside the<web-app>
tag.