jeudi 2 janvier 2020

“Controller does not exist. Reflection failed.” TYPO3 v2

I have a typo3 extension (created with extension manager) and it seems no matter what I try I always get the following error:

Class CM\Parser\Controller\ParserController does not exist. Reflection failed.

I used the explanations for this problem TYPO3 tutorial extension, controller does not exist and "Controller does not exist. Reflection failed." TYPO3. Neither of them seem to work. My composer.json in the root directory has the following entry:

    "autoload": {
    "psr-4": {
    "CM\\parser\\": "./packages/cm-parser/Classes"
    }
}

My typo3conf/ext folder has a symlink on packages/cm-parser. My composer.json inside the extension directory (packages/cm-parser) has the entry:

    "autoload": {
    "psr-4": {
       "CM\\parser\\": "./Classes"
    }
   }

Thanks in advance for any help.





Aucun commentaire:

Enregistrer un commentaire