Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15855

Fix a few errors while running cms locally

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 16.0.0
    • None
    • None

    Description

      When an archetype project(which was generated with 16.0.0-SNAPSHOT) is run by setting jakarta integration branch locally, after commenting spring configurations wrt ehcache, the following errors are thrown.

      After fixing the errors below, cms login screen is shown and worked. (Not fully functional because of some other incompatible libraries.) 

      This ticket is to fix the errors below.

       

      The errors:

      [INFO] [talledLocalContainer] 
      [INFO] [talledLocalContainer] The following method did not exist:
      [INFO] [talledLocalContainer] 
      [INFO] [talledLocalContainer]     'void org.apache.logging.log4j.util.PropertiesUtil.addPropertySource(org.apache.logging.log4j.util.PropertySource)'
      [INFO] [talledLocalContainer] 
      [INFO] [talledLocalContainer] The calling method's class, org.springframework.boot.logging.log4j2.Log4J2LoggingSystem, was loaded from the following location:
      [INFO] [talledLocalContainer] 
      [INFO] [talledLocalContainer]     jar:file:/Users/cuneyt/git/bloomreach-14/brxm/internal/hap/enterprise/target/tomcat10x/webapps/cms/WEB-INF/lib/spring-boot-3.0.12.jar!/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.class
      
      INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pagecomposerJaxrsRestJacksonJaxbIntrospector' defined in URL [jar:file:/Users/cuneyt/Projects/newversion/target/tomcat10x/webapps/cms/WEB-INF/lib/hst-page-composer-16.0.0-jakarta-SNAPSHOT.jar!/META-INF/hst-assembly/addon/org/hippoecm/hst/pagecomposer/SpringComponentManager-pagecomposer.xml]: No matching factory method found on class [com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair]: factory method 'pair(JaxbAnnotationIntrospector,JacksonAnnotationIntrospector)'. Check that a method with the specified name and arguments exists and that it is static.
      

      Attachments

        Issue Links

          Activity

            People

              jhoffman Jeroen Hoffman
              cgul Cuneyt Gul
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: