When using Spring property placeholders, the schema parser complains about using the $
{portNumber}
syntax because the attribute is defined as an xsd:int. Update schema with a new type that allows an integer or a string value that matches a regular expression for a property placeholder.