api-pack icon indicating copy to clipboard operation
api-pack copied to clipboard

Symfony 6.4 : Attempted to load class "ExceptionAction" Error

Open Marcoparigi opened this issue 1 year ago • 1 comments

API Platform version(s) affected: Symfony 6.4 installing with composer require api (v1.4)

Description
When i follow the SymfonyCasts Install tutorial the API Plateform /api route loads well. https://symfonycasts.com/screencast/api-platform/install?cid=apip

But going to step 2 it breaks : https://symfonycasts.com/screencast/api-platform/api-resource

The result is the following Symfony Error message : "Attempted to load class "ExceptionAction" from namespace "ApiPlatform\Action". Did you forget a "use" statement for another namespace?"

In the vendors there is nothing regarding "ExceptionAction" so the error is normal but seems there is some missing files when installing the api-pack within symgony 6.4

Marcoparigi avatar Oct 10 '24 09:10 Marcoparigi

Clearing the cache has no effect on the issue

Marcoparigi avatar Oct 11 '24 09:10 Marcoparigi