Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException on convert #29

Open
ghost opened this issue Mar 22, 2016 · 2 comments
Open

ClassNotFoundException on convert #29

ghost opened this issue Mar 22, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 22, 2016

I installed version 2.0.4 and every time I call method convert I get following exception:

Attempted to load class "MetadataFactory" from namespace "Metadata".
Did you forget a "use" statement for another namespace?

In version 2.0.3 it worked.

While debugging I noticed that in your service.yml you refer to classes (FileCache, MetadataFactory), which do not exist in your code:

 snowcap_im.metadata.cache:
        class: Metadata\Cache\FileCache
        public: false
        arguments:
            - {}

    snowcap_im.metadata.mogrify_factory:
        class: Metadata\MetadataFactory
        public: false
        arguments: [@snowcap_im.metadata.mogrify_driver]
        calls:
            - [setCache, ["@snowcap_im.metadata.cache"]]
@Halfi
Copy link

Halfi commented May 4, 2016

same problem, but exception called everywhere. Im downgrade to 2.0.3 version and have no problem.

@hs2323
Copy link

hs2323 commented Sep 25, 2016

They are missing the Metadata library library in the composer file (https://github.com/schmittjoh/metadata/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants