19:55:52,832 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxUrl' defined in class path resource [alfresco/core-services-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public final java.lang.String $Proxy4.subsituteHost(java.lang.String)] threw exception; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer] for bean with name 'transformer.XmlParser' defined in URL [jar:file:/home/alfuser/alfresco-3.4.0/tomcat/shared/lib/mon-extension.jar!/alfresco/extension/xmlparser-transformer-context.xml]; nested exception is java.lang.ClassNotFoundException: org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LuceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'luceneFullTextSearchIndexer' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer] for bean with name 'transformer.XmlParser' defined in URL [jar:file:/home/alfuser/alfresco-3.4.0/tomcat/shared/lib/mon-extension.jar!/alfresco/extension/xmlparser-transformer-context.xml]; nested exception is java.lang.ClassNotFoundException: org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer
man jar
\alfresco\extension\…
\alfresco\messages\…
\alfresco\web-extension\…
\META-INF\components\…
\WEB-INF\classes\org\alfresco\repo\content\transform\Xml2HtmlParserContentTransformer$1.class
\WEB-INF\classes\org\alfresco\repo\content\transform\Xml2HtmlParserContentTransformer.class
\WEB-INF\classes\org\alfresco\repo\content\transform\Xml2HtmlParserContentTransformerTest.class
21:04:28,182 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmxUrl' defined in class path resource [alfresco/core-services-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public final java.lang.String $Proxy4.subsituteHost(java.lang.String)] threw exception; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer] for bean with name 'transformer.XmlParser' defined in URL [jar:file:/home/alfuser/alfresco-3.4.0/tomcat/shared/lib/share-Michelin.jar!/alfresco/extension/xmlparser-transformer-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/alfresco/repo/content/transform/AbstractContentTransformer2
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'LuceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'luceneFullTextSearchIndexer' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneFullTextSearchIndexer' defined in class path resource [alfresco/core-services-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.content.transform.Xml2HtmlParserContentTransformer] for bean with name 'transformer.XmlParser' defined in URL [jar:file:/home/alfuser/alfresco-3.4.0/tomcat/shared/lib/share-Michelin.jar!/alfresco/extension/xmlparser-transformer-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/alfresco/repo/content/transform/AbstractContentTransformer2
Preter également attention :
- au fait que si votre classe possède des inner classes, elles doivent aussi être dans le jar.
- à l'arbre des classloaders et au dépendances introduites par l'ordre de chargement.
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.