graphaware / neo4j-reco

Neo4j-based recommendation engine module with real-time and pre-computed recommendations.
374 stars 77 forks source link

FriendsComputingEngine wasn't found on the classpath #16

Closed sreejithc321 closed 8 years ago

sreejithc321 commented 8 years ago

I am getting this error :

ERROR c.g.r.n.m.RecommendationModuleBootstrapper - Engine com.graphaware.reco.integration.FriendsComputingEngine wasn't found on the classpath. Will not pre-compute recommendations

How to solve this ?

bachmanm commented 8 years ago

Well, did you build a FriendsComputingEngine? :)

sreejithc321 commented 8 years ago

Hi Bachmanm,

I have created a java file (https://github.com/graphaware/neo4j-reco#putting-it-all-together) and placed the following files to plugin directory :

FriendsComputingEngine.java
graphaware-reco-2.3.1.36.9.jar
graphaware-server-community-all-2.3.1.36.jar

bachmanm commented 8 years ago

The FriendsComputingEngine you've built is surely a part of a project, which (if it is a Maven project) should produce a .jar file when you mvn package. Please place that .jar into plugins, rather than just a single Java class

sreejithc321 commented 8 years ago

Thanks , packaged the java codes to jar file and it is working.