On Wednesday 04 February 2009, Grant Ingersoll wrote:
> OK, I checked in another interim that does:
>
> 1. Separates out Taste WAR and builds  it.  Haven't tested it yet, but
> the structure looks good.

The structure looks good, I successfully copied the resulting war into tomcat 
and called the app at http://localhost:$port/$name_of_war/RecommenderServlet

Only problem: Doing so gives me the following exception: 

java.lang.ClassNotFoundException: @RECOMMENDER_CLASS@
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
 
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:169) 
org.apache.mahout.cf.taste.web.RecommenderSingleton.<init>(RecommenderSingleton.java:51)
 
org.apache.mahout.cf.taste.web.RecommenderSingleton.initializeIfNeeded(RecommenderSingleton.java:42)
 
org.apache.mahout.cf.taste.web.RecommenderServlet.init(RecommenderServlet.java:76

I suppose I have made some trivial mistake?




> Try doing "mvn install" from the top.  If you want to run the example
> tests, you need to make sure you do "install" in the core directory
> first.

mvn install works fine here.

Big thanks for your work the maven migration and release cleanup, Grant.

Isabel

-- 
How much net work could a network work, if a network could net work?
  |\      _,,,---,,_       Web:   <http://www.isabel-drost.de>
  /,`.-'`'    -.  ;-;;,_
 |,4-  ) )-,_..;\ (  `'-'
'---''(_/--'  `-'\_) (fL)  IM:  <xmpp://[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to