LPS-51781 Error is logged when starting the modularized Web Content Display portlet

@ealonso @juliocamarero please note this change