I am trying to preview the content catalog in smart edit. while clicking on any of the staged or online versions of the catalog, i am getting the below error in console:
WARN [hybrisHTTP17] [: , , , , ] [XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aopFieldsetConverter' defined in ServletContext resource [/WEB-INF/springmvc-servlet.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [javax.servlet.http.HttpServletRequest] is defined: expected single matching bean but found 2: com.sun.proxy.$Proxy144@12cfca39,httpServletRequest Jul 14, 2017 9:09:21 AM org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'aopFieldsetConverter' defined in ServletContext resource [/WEB-INF/springmvc-servlet.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [javax.servlet.http.HttpServletRequest] is defined: expected single matching bean but found 2: com.sun.proxy.$Proxy144@12cfca39,httpServletRequest at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
This is after i enabled smart edit on our custom codebase. Anyone faced similar error in smart edit, please help me out.