简体   繁体   中英

Sudden Doctrine/JMSSerializer annotation failure

I suddenly got various

[Semantical Error] The annotation "@\\JMS\\Serializer\\Annotation\\XXX" in property YYY does not exist, or could not be auto-loaded while the servers where still running the same version of my code.

In fact, 2 of my servers have been up since Dec.23 and they're fine. Only servers that got deployed since 24th are bugging, whereas using the same git tag, hinting toward vendor code.

My first guess was JMS was updated and my composer.lock is s**t.

But JSM Serializer's last change seems to be 1 year old.

Looking for insight on that kind of error or recent dependency updates.

I can't find a culprit in dependencies for now... but composer 1.3.0 was released around the time it all started. So maybe it's not what composer downloads, but composer itself.

Not solved yet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM