In case anyone else bumps into this, you get this error if you try to put a Message
element in a PropertyGroup
... which you can't do. To resolve, move the Message
outside the property group (presumably inside some Target
block).
The error message is very misleading here...