Limenius / LiformBundle

Symfony Bundle to render Symfony Forms to JSON Schema
MIT License
137 stars 43 forks source link

ServiceNotFoundException The service "liform.resolver" has a dependency on a non-existent service "validator.mapping.class_metadata_factory" #13

Closed darkomenx closed 6 years ago

darkomenx commented 6 years ago

Hi,

I want to integrate your bundle into Symfony4 project. But when I load my application I have this issue : capture

I already added this line in my bundles.php file for loading your bundle in my kernel app symfony

Limenius\LiformBundle\LimeniusLiformBundle::class => ['dev' => true, 'test' => true],

perhaps Symfony version dependancy issue ?

darkomenx commented 6 years ago

Mmmm Sorry this is my first project with Symfony4 and I just see that validator component is now not be included into symfony framework by default (but symfony 2 and 3 yes).

I install this component by : composer require validator

And this error not happen.

Sorry for open issue and thank you for your bundle