cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFoundException with Lucene

oravecz
Champ in-the-making
Champ in-the-making
I have installed a trial of Enterprise 3.3 on an EC2 instance running Ubuntu 8.04 and Tomcat 6.

After successfully configuring a connection to an external MySQL database, I am getting the following exception at startup:

Caused by: java.lang.ClassNotFoundException: org.apache.lucene.store.Directory
   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:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   … 106 more

I'm perplexed as to how this class can't be found since lucene-core-2.4.1.jar is confirmed to be in my /usr/local/tomcat/webapps/alfresco/WEB-INF/lib directory.
1 REPLY 1

savic_prvoslav
Champ on-the-rise
Champ on-the-rise
maybe it is multi jar problem
also if you are running on linux maybe open file limit.