# Acts\_as\_solr plugin not working properly in rails postgresql

**URL:** <https://www.ruby-forum.com/t/acts-as-solr-plugin-not-working-properly-in-rails-postgresql/194709>\
**Category:** Rails\
**Created:** [September 9, 2010, 11:01am UTC](https://www.ruby-forum.com/t/acts-as-solr-plugin-not-working-properly-in-rails-postgresql/194709 "2010-09-09T11:01:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fspprabu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/48db29/32.png) [@fspprabu](https://www.ruby-forum.com/u/fspprabu)\
**Post date:** [September 9, 2010, 11:01am UTC](https://www.ruby-forum.com/t/acts-as-solr-plugin-not-working-properly-in-rails-postgresql/194709/1 "2010-09-09T11:01:48Z")

</div>

Hi,

I have implement books search application in ruby on rails with solr  
server search.

I am using rails 2.3.2 , postgresql-8.3.11 in CentOS and acts\_as\_solr  
plugin.  
I followed the instruction on site URL below:

> **[Home](https://lucidworks.com/)**
>
> Lucidworks helps you capture insights from every action and apply them to the next. Learn about our website search platform on this page and contact us today!

When I run rake solr:start I am getting error as

Exception in thread “main” java.lang.NoClassDefFoundError: RadRails  
Caused by: java.lang.ClassNotFoundException: RadRails  
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)  
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)  
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)  
Could not find the main class: RadRails. Program will exit.

Kindly help me to solve and run the simple application using apache  
solr.  
Thanx in advance.
