Got it to work by using the
deploytarget instead of the
The tutorial specifically recommends the
explodetarget - not sure why.
Also, there are certain files that can cause that behaviour. Check if among the deployed files are .jsfdia or spdia ones and delete them. They are usually within the WEB-INF/ or META-INF directory.
Yes, .jsfdia and spdia files cause this kind of error. Deleting these files before deploying solved my problem. i had .pages.xml.spdia in my WEB/INF directory.