Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Symfony 6.4 : Attempted to load class "ExceptionAction" Error #33

@Marcoparigi

Description

@Marcoparigi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions