Fixed issue when removing the Thymeleaf nature

Closes #45