Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding jackrabbit versionable node creation

 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to jackrabbit. I successfully created a node nt:folder and to that I uploaded a document. But now when I am trying to create a versionable node in the repository, I am failing to do so. Basing on the examples I wrote the below mentioned program but it is giving me the following error I tried a lot but failed. Please help me where I am going wrong. What I have to do to create a versionable node and can post documents with versions.





Thanking you.
raaja. g

[NK: Added code tags. Please UseCodeTags]
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel you will get better responses in Other Open Source forums. Moving ...
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know JakRabbit at all, but you are building a tree like structure in your code. I suggest you grab a piece of paper and draw out the tree as you follow your code along, are you adding nodes in the right place? Are the children properly attached to their parents? You might be able to simulate the drawing by using some ASCII art with System.out as you navigate the nodes in your code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic