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

Document how to install in project #18

Open
lauraluiz opened this issue Jul 26, 2016 · 2 comments
Open

Document how to install in project #18

lauraluiz opened this issue Jul 26, 2016 · 2 comments

Comments

@lauraluiz
Copy link
Contributor

No description provided.

@ghost
Copy link

ghost commented Aug 3, 2016

Hi, I've tried as an early adapter to integrate the cms to our sunrise java demo fork upgrading to 0.9.0 but I think there has to be added a configuration for
final Configuration config = configuration.getConfig("application.cms.i18n");
in the application.conf for the CmsI18nResolverProvider

Do you have something prepared? Thank you in advance.

Our Error:

Error in custom provider, java.lang.NullPointerException
  while locating com.commercetools.sunrise.common.template.cms.filebased.CmsI18nResolverProvider
  at com.commercetools.sunrise.common.template.TemplateModule.configure(TemplateModule.java:22) (via modules: com.google.inject.util.Modules$OverrideModule -> com.commercetools.sunrise.common.template.TemplateModule)
  while locating com.commercetools.sunrise.common.template.i18n.I18nResolver annotated with @com.google.inject.name.Named(value=cms)
    for field at com.commercetools.sunrise.common.template.cms.filebased.FileBasedCmsService.i18nResolver(FileBasedCmsService.java:25)
  while locating com.commercetools.sunrise.common.template.cms.filebased.FileBasedCmsService
  while locating com.commercetools.sunrise.cms.CmsService

@lauraluiz
Copy link
Contributor Author

@clearsky yes, you are right. To use the simple file-based CMS you need that config. There are still lots of changes involved here:

Still a lot of work to do that is directly involving this.
Thanks for all the feedback!

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

1 participant