JMSSerializer stand alone - Annotation does not exist, or cannot be auto-loaded

前端 未结 6 1500
遥遥无期
遥遥无期 2020-12-13 18:00

I am attempting to use JMSSerializer as a stand alone library to map JSON responses from an API to my model classes and am running into some issues.

Executing the fo

6条回答
  •  温柔的废话
    2020-12-13 18:40

    Check the capitalisation of your annotations. I had a similar problem when deploying from a Windows dev environment to an Ubuntu server which was caused by a typo in the case of my annotation. Windows files are case-insensitive so it works there but fails on Linux.

提交回复
热议问题