On 25 Feb 2010, at 05:19, Richa wrote: > > Hi ,iam a new user to jackrabbit 2.0.0. while creating and starting the > repository iam facing a lot of problems. > The technologies iam using are:- >>> apache tomcat 6.0.24 >>> jackrabbit 2.0.0 war file >>> operating system:linux mandriva 2006 > > Now these are the steps iam following while trying to start the repository > in jackrabbit:- > 1)what i did was, i installed the tomcat 6.0.24 tar file and made the > tomatcat server run without any problem. > 2)Then i downloaded the jackrabbit 2.0.0. war file in the webapps directory > of the tomcat, and also downloaded the jcr1.0.jar file in the WEB-INF/lib of > the jackrabbit 2.0.0 ,which is lying in the webapps directory of the tomcat > 6.0.24. > 3)then i shutdown the server and started it again.the server starts running > ,but when i try runnig the repository giving this address > http://localhost:8080/jackrabbit-webapp-2.0.0/ in my url i get the first > page of create repository, but iam getting the error written below > 4) as i told u above that iam getting the first page and when i create a > repository of a name say “jackrabbit” > i get this error:- > exception- > javax.servlet.ServletException: Servlet execution threw an exception > root cause- > java.lang.NoClassDefFoundError: javax/jcr/Binary
You need JCR 2.0 jar file not 1.0. JackRabbit 2.x is for JCR 2. Rakesh
