Hi Paul, On Mar 23, 2012, at 11:12 PM, Paul Libbrecht wrote:
I traced this error to the following: In xwiki/WEB-INF/lib/, the class HqlQueryExecutor (which is probably the one I want), is found in two places:
- xwiki-platform-legacy-oldcore-3.5.jar - xwiki-platform-oldcore-3.5.jar
is there any one I should not use?? Thus far I believe I needed the legacy one to compile our modules... I guess this can be changed one day.
The oldcore legacy module wraps the oldcore (ie includes it). You need to use one or the other. Thanks -Vincent
paul
Le 13 mars 2012 à 12:16, Thomas Mortagne a écrit :
2012-03-13 11:54:15,269 [http://hoplahup.homeip.net/xwiki/bin/view/Main/] WARN onfiguredQueryExecutorProvider - Could not find a QueryExecutor with hint hibernate which is the hint for the storage engine. the default QueryExecutor will not be used instead. org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role = [org.xwiki.query.QueryExecutor] hint = [hibernate]] at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:335) ~[xwiki-commons-component-default-3.5.jar:na] at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:147) ~[xwiki-commons-component-default-3.5.jar:na]
Would be nice to have a bit more of the stack trace to see what is trying to lookup this component. I don't know any QueryExecutor with this hint, there is only "hql" and "xwql" which are the supported query languages. "hibernate" does not make much sense at this level. Probably some code which wrongly use "hibernate" instead of "hql".
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users