02-24-2011 04:57 AM
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
02-25-2011 03:34 AM
man jar
02-25-2011 09:04 AM
\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
02-25-2011 11:19 AM
02-25-2011 12:01 PM
02-25-2011 03:14 PM
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
02-28-2011 09:02 AM
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.
03-08-2011 05:00 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.