mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Eckstein <umi...@gmail.com>
Subject Re: Invoking Mahout 0.9 with Lucene 4.6.1 ClassNotFoundException
Date Thu, 23 Oct 2014 23:15:16 GMT
what information do you need?
I use mahout 0.9 and lucene 4.6.1 via maven depency.

those two line in the main method produces the error
    String[] args = {"--field title","--dir ressources/mahout/tmp",
"--dictOut term_dictionary.txt","--output sequence.file","--idfield isbn"};
    org.apache.mahout.utils.vectors.lucene.Driver.main(args);

here are all dependencies

<dependencies>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
<version>2.12.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers</artifactId>
<version>3.6.2</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-queryparser</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-core</artifactId>
<version>0.9</version>
</dependency>
<dependency>
<groupId>org.apache.mahout</groupId>
<artifactId>mahout-utils</artifactId>
<version>0.5</version>
</dependency>
<dependency>
    <groupId>org.apache.mahout</groupId>
    <artifactId>mahout-integration</artifactId>
    <version>0.9</version>
</dependency>

On Fri, Oct 24, 2014 at 12:53 AM, thejas prasad <thejchess@gmail.com> wrote:

> Can you please provide more information?
>
> On Thu, Oct 23, 2014 at 3:51 PM, Benjamin Eckstein <umingo@gmail.com>
> wrote:
>
> > Hello, i have 2 lines of code, that produces a class not found exception
> >
>

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