incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobr <>
Subject mislocated bean for SysoutCrawlingDroid
Date Mon, 30 Aug 2010 17:09:05 GMT

my company currently develops a search engine based on lucene, solr and droids.
I checked out the latest trunk version of droids.

Building a crawler based on spring I followed the suggestions made in

and there is a minor error.
The SysoutCrawlingDroid class is located under the test folder and so it is not available
at runtime.
The bean org.apache.droids.api.Droid/hello should also be defined in the test config file.

Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class
[org.apache.droids.impl.SysoutCrawlingDroid] for bean with name
 ... 26 more
Caused by: java.lang.ClassNotFoundException: org.apache.droids.impl.SysoutCrawlingDroid

Maybe it has something to do with

I fixed it by moving this definition to the test configuration.

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