jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simer anand <simer.anan...@gmail.com>
Subject Re: error PREMATURE END OF FILE IN FIRSTHOP program
Date Fri, 24 Jul 2009 08:53:24 GMT
yeah thanks Dipu a lot it worked finally  repository  got  started

but seems that it still have some missing jar error

just have a look at this bug and give me confirmation

[sda_tr1@cad44 program_files]$ java -cp ${CLASSPATH}:. FirstHop
3736 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Starting
repository...
4139 [main] INFO org.apache.jackrabbit.core.fs.local.LocalFileSystem -
LocalFileSystem initialized at path repository/repository
4351 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Shutting down
repository...
4453 [main] INFO org.apache.jackrabbit.core.RepositoryImpl - Repository has
been shutdown
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/io/IOUtils
        at
org.apache.jackrabbit.core.RepositoryImpl.loadRootNodeId(RepositoryImpl.java:570)
        at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:276)
        at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:621)
        at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:235)
        at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
        at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
        at FirstHop.main(FirstHop.java:22)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 8 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message