jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipu <dipu....@googlemail.com>
Subject Re: error PREMATURE END OF FILE IN FIRSTHOP program
Date Fri, 24 Jul 2009 09:07:33 GMT
do you have commons-io-1.4.jar in your class path ?
http://commons.apache.org/io/


On Fri, Jul 24, 2009 at 9:53 AM, simer anand<simer.anand88@gmail.com> wrote:
> 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
View raw message