cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartedit install error in hybris 6.7

Former Member
0 Likes
908

As part of hybris migration from 5.7 to 6.7, we tried to install smartedit. We have added extensions in localextensions.xml.

Installed the smarteditaddon AddOn on customstorefront as follows:

ant addoninstall -Daddonnames=smarteditaddon -DaddonStorefront.yacceleratorstorefront=your_custom_storefront>

After updating the platform, we are not able to access smartedit page. Any help is appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Can you please share logs?

Former Member
0 Likes

While trying to access smartedit by URL: https://localhost:9002/smartedit gettting below log.

WARN [hybrisHTTP11] [ContextInformationLoader] Cannot find CMSSite associated with current URL (https://localhost:9002/smartedit)!

Former Member
0 Likes

And while starting hybris server following error is thrown:

Configuration problem: Failed to import bean definitions from URL location [classpath:sprin g-web/smartedit-spring.xml] Offending resource: ServletContext resource [/WEB-INF/smartedit-web-spring.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreExce ption: Line 43 in XML document from class path resource [spring-web/smartedit-spring.xml] is invalid; nested exception is org.xml.sax.SAXParseException; The matching wildcard is strict, but no declaration can be found for element 'mvc:cors'.

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

It looks like you have an old spring version on your classpath, probably a left-over from 5.7

Remove all spring libs from your custom extensions, and then migrate to the latest spring version that comes bundled with the platform.

mpern
Product and Topic Expert
Product and Topic Expert
0 Likes

Installing the addon is not enough, you also need to configure all required smartedit extensions in your localextensions.xml:

 <extension name="cmssmartedit" />
 <extension name="smarteditwebservices" />
 <extension name="cmswebservices" />
 <extension name="permissionswebservices" />
 <extension name="previewwebservices" />

After that, run hybris update again and make sure to check the boxes for the smartedit related extensions. This should setup the required user/user groups so you can login in the smartedit frontend.

Former Member
0 Likes

Yes we already configured below extensions in localextensions.xml.

cmsbackoffice cmssmartedit cmssmarteditwebservices cmswebservices permissionswebservices previewwebservices smartedit smarteditaddon smarteditwebservices

Run hybris update system by selecting the above extensions. Still we are getting a blank page.