AnsweredAssumed Answered

ClassNotFoundException with Lucene

Question asked by oravecz on Jun 4, 2010
Latest reply on Jun 4, 2010 by savic.prvoslav
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.

Outcomes