You can't be using Lucene 4x with Lucene 3x. Lucene 4x is not backward compatible with Lucene 3x. R u trying to set TermVectors and offsets, if so it should be done differently with Lucene 4x, see TestClusterDumper.java for an example.
On Thu, Oct 23, 2014 at 7:15 PM, Benjamin Eckstein <umi...@gmail.com> wrote: > 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 <thejch...@gmail.com> > wrote: > > > Can you please provide more information? > > > > On Thu, Oct 23, 2014 at 3:51 PM, Benjamin Eckstein <umi...@gmail.com> > > wrote: > > > > > Hello, i have 2 lines of code, that produces a class not found > exception > > > > > >