Results 1 to 3 of 3
  1. #1
    pavan2011.m is offline Member
    Join Date
    Jul 2014
    Posts
    1
    Rep Power
    0

    Default Error while using the "org.apache.jackrabbit.oak.jcr.Jcr.createRepos itor y"

    Can anyone please tell me what does it means .........................

    Exception in thread "main" java.lang.NoSuchMethodError: org.apache.jackrabbit.oak.Oak.getWhiteboard()Lorg/apache/jackrabbit/oak/spi/whiteboard/Whiteboard;

    at org.apache.jackrabbit.oak.jcr.Jcr.createRepository (Jcr.java:153)
    at CreateCollectiobn.main(CreateCollectiobn.java:101)


    Thanks,
    Pavan Kumar M
    mandapavaan@gmail.com
    (9739898387)

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    947
    Rep Power
    2

    Default Re: Error while using the "org.apache.jackrabbit.oak.jcr.Jcr.createRepos itor y"

    This is a hint: NoSuchMethodError. The method does not exist. Sounds like you are using a different version library than the code expects.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,029
    Rep Power
    6

    Default Re: Error while using the "org.apache.jackrabbit.oak.jcr.Jcr.createRepos itor y"

    Its probably slightly more annoying even: it looks like library conflicts. Jackrabbit consists of several jars and here a combination of jars is used from different incompatible versions.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. "Error cannot find symbol" "throws BadLocationException"
    By Daniel Silvester in forum New To Java
    Replies: 8
    Last Post: 07-02-2013, 01:53 AM
  2. Replies: 0
    Last Post: 12-07-2012, 08:29 AM
  3. Replies: 1
    Last Post: 11-02-2012, 11:38 PM
  4. Replies: 2
    Last Post: 06-16-2011, 04:44 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •