I think build the recommender and related class into a jar,and put it to the taste-web/lib directory, I put the AnonymousRecommenderServlet to taste-web/src directory,but in AnonymousRecommenderServlet can't import AnonymousRecommender in that jar.I don't know what's the problem?
On Fri, Jul 9, 2010 at 4:32 PM, Sean Owen <[email protected]> wrote: > Oh I see. It appears you've added your own code like > AnonymousRecommenderServlet into the framework code in taste-web/src/. > This isn't the intent. You want all your code to be built together > into one .jar file, separately. The module of course doesn't depend on > your code. > > It would also work if you put all your code in taste-web/src/ and > didn't build any .jar file but that is probably not a good practice. > > Sean > > On Fri, Jul 9, 2010 at 2:50 AM, samsam <[email protected]> wrote: > > I have put my jar file in the lib directory,but I think the class still > > can't be imported. > -- I'm samsam.
