Mathew
Mathew

Reputation: 1

Cannot access hybris backoffice

I am pursuing hybris training. In my hybris 2011, cannot access backoffice. Hybris administration console is accessible. It says "404 page not found". How to solve this?

Upvotes: 0

Views: 3296

Answers (2)

merveeda
merveeda

Reputation: 1

  1. Using HAC. Go to Maintenance -> Cleanup-> TypeSystem, and click "Clear all orphaned types".
  2. Using Ant. If you execute ant -p you will see a list of ant targets, and there look for the target "clearOrphanedTypes" clearOrphanedTypes: Clears orphaned types after system update. Syntax: ant clearOrphanedTypes [-DclearInstances=true/false -DclearDeployments=true/false]. Default value for clearInstances is true, default value for clearDeployments is true

Upvotes: 0

Mathew
Mathew

Reputation: 1

problem solved. It arises due to some errors in trainingcore>resources>localization>trainingcore-locales_en.properties, where I have added some label names. I deleted them, ant clean all and then started server again.
note: ERROR [localhost-startStop-12] [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'backofficeWarmUpTypeFacadeCaches' defined in ServletContext resource [/WEB-INF/backoffice-web-spring.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException.

This error message was there in terminal when I was not able to access backoffice.

Upvotes: 0

Related Questions