Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1839

Query Plugin needs a jar file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.6 M2
    • Labels:
      None
    • Similar issues:

      Description

      When using the query plugin it fails because a dependency jar of jackrabbit is missing (http://www.slf4j.org/ )

      Error number 4001 in 4: Error while parsing velocity page Test.QueryTest Wrapped Exception: Invocation of method 'search' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory @ Test.QueryTest44,21?

      java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
      at org.apache.jackrabbit.core.query.QueryTreeBuilderRegistry.<clinit>(QueryTreeBuilderRegistry.java:40)
      at org.apache.jackrabbit.core.query.QueryParser.parse(QueryParser.java:53)
      at com.xpn.xwiki.plugin.query.QueryPlugin.parse(QueryPlugin.java:90)
      at com.xpn.xwiki.plugin.query.QueryPlugin.xpath(QueryPlugin.java:100)
      at com.xpn.xwiki.plugin.query.QueryPlugin.search(QueryPlugin.java:280)
      at com.xpn.xwiki.XWiki.search(XWiki.java:5374)
      at com.xpn.xwiki.api.XWiki.search(XWiki.java:2610)

        Attachments

          Activity

            People

            Assignee:
            amelentev Artem Melentev
            Reporter:
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: