Hi It worked
thanks 2008/4/1, Lars Heinemann <[EMAIL PROTECTED]>: > > I had a look at my own converter bean. There is use the following > additional dependencies: > > <dependency> > <groupId>commons-io</groupId> > <artifactId>commons-io</artifactId> > <version>1.4</version> > </dependency> > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-api</artifactId> > > <version>1.4.0</version> > </dependency> > > <dependency> > <groupId>org.slf4j</groupId> > <artifactId>slf4j-jdk14</artifactId> > > <version>1.4.0</version> > </dependency> > <dependency> > <groupId>com.artofsolving</groupId> > <artifactId>jodconverter</artifactId> > > <version>2.2.0</version> > </dependency> > <dependency> > <groupId>org.openoffice</groupId> > <artifactId>juh</artifactId> > <version>2.2.0</version> > </dependency> > <dependency> > <groupId>org.openoffice</groupId> > <artifactId>jurt</artifactId> > <version>2.2.0</version> > </dependency> > <dependency> > <groupId>org.openoffice</groupId> > <artifactId>ridl</artifactId> > <version>2.2.0</version> > </dependency> > <dependency> > <groupId>org.openoffice</groupId> > <artifactId>unoil</artifactId> > <version>2.2.0</version> > </dependency> > <dependency> > <groupId>com.thoughtworks.xstream</groupId> > <artifactId>xstream</artifactId> > <version>1.2.2</version> > </dependency> > > Regards, > Lars > > > > > Lars Heinemann schrieb: > > > Håkon, > > > > the JODConverter has also his own dependencies. Have a look at their > > website to find the actual dependency list. > > > > Regards, > > Lars > > > > > > Håkon Sagehaug schrieb: > > > >> Hi > >> > >> I wanted to extend the fileUpload example as suggested, with a document > >> converter JODConverter, I added a dependency in the pom.xml of the > >> http-handler-unit like this > >> > >> <dependency> > >> <groupId>com.artofsolving</groupId> > >> <artifactId>jodconverter</artifactId> > >> <version>2.2.1</version> > >> </dependency> > >> > >> It compiles fine but when I want to run it I get this error > >> > >> java.lang.NoClassDefFoundError: Could not initialize class > >> org.slf4j.LoggerFactory > >> > >> Does anyone have any tips on how to solve this? > >> > >> cheers, Håkon > >> > >> > >> > > > > > -- Håkon Sagehaug, Software Developer Parallab, Bergen Center for Computational Science (BCCS) UNIFOB AS (University of Bergen Research Company)
