You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Collin Lee <co...@salesforce.com> on 2016/11/02 15:39:49 UTC

Issue building with recommendation template engine

I'm trying to use the

apache-predictionio-0.10.0-incubating code base and build the
recommendation template
http://predictionio.incubator.apache.org/templates/recommendation and am
not sure how to get past this error with
io.prediction#core_2.10;0.10.0-incubating
not being found:


[INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::

[INFO] [Console$] [warn] ::          UNRESOLVED DEPENDENCIES         ::

[INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::

[INFO] [Console$] [warn] :: io.prediction#core_2.10;0.10.0-incubating: not
found

[INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::

[INFO] [Console$] [warn]

[INFO] [Console$] [warn] Note: Unresolved dependencies path:

[INFO] [Console$] [warn] io.prediction:core_2.10:0.10.0-incubating
(/Users/collin.lee/IdeaProjects/apache-predictionio-0.10.0-incubating/MyRecommendation/build.sbt#L9-13)

[INFO] [Console$] [warn]   +-
io.prediction:template-scala-parallel-recommendation_2.10:0.1-SNAPSHOT

[INFO] [Console$] sbt.ResolveException: unresolved dependency:
io.prediction#core_2.10;0.10.0-incubating: not found

....


I've tried completely clearing the .ivy directories, but still get the
error re-running `pio build`

Any suggestions on what I should do next?

Re: Issue building with recommendation template engine

Posted by Sebastiaan de Man <sd...@salesforce.com>.
Hi Collin,

Looks like the template is referencing io.prediction instead of
org.apache.predictionio

Try using the latest version of the template here:
https://github.com/apache/incubator-predictionio-template-recommender

Or just copy the build.sbt file from there and change the import statements.

Cheers,
Sebastiaan

On Wed, Nov 2, 2016 at 4:39 PM, Collin Lee <co...@salesforce.com>
wrote:

> I'm trying to use the
>
> apache-predictionio-0.10.0-incubating code base and build the
> recommendation template http://predictionio.incubator.apache.org/
> templates/recommendation and am not sure how to get past this error with
> io.prediction#core_2.10;0.10.0-incubating not being found:
>
>
> [INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>
> [INFO] [Console$] [warn] ::          UNRESOLVED DEPENDENCIES         ::
>
> [INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>
> [INFO] [Console$] [warn] :: io.prediction#core_2.10;0.10.0-incubating:
> not found
>
> [INFO] [Console$] [warn] ::::::::::::::::::::::::::::::::::::::::::::::
>
> [INFO] [Console$] [warn]
>
> [INFO] [Console$] [warn] Note: Unresolved dependencies path:
>
> [INFO] [Console$] [warn] io.prediction:core_2.10:0.10.0-incubating
> (/Users/collin.lee/IdeaProjects/apache-predictionio-0.10.0-
> incubating/MyRecommendation/build.sbt#L9-13)
>
> [INFO] [Console$] [warn]   +- io.prediction:template-scala-
> parallel-recommendation_2.10:0.1-SNAPSHOT
>
> [INFO] [Console$] sbt.ResolveException: unresolved dependency:
> io.prediction#core_2.10;0.10.0-incubating: not found
>
> ....
>
>
> I've tried completely clearing the .ivy directories, but still get the
> error re-running `pio build`
>
> Any suggestions on what I should do next?
>