Hi, I added slf4j-api dependencies to each reasoners' poms, on issue [1] As Steve suggested (thank you!), this should solve the problem. Anyway I have maven 3 so I cannot verify immediately. Let me know if this solves.
Bests, Enrico [1] https://issues.apache.org/jira/browse/STANBOL-346 On 10 October 2011 13:23, Fabian Christ <[email protected]> wrote: > Hi, > > I also have problems compiling the reasoner bundles with Maven 2. > > [INFO] Building Apache Stanbol Reasoners: Service Manager > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /home/fabianc/Coding/Apache/Stanbol/trunk/reasoners/manager/src/main/java/org/apache/stanbol/reasoners/manager/ReasoningServicesManagerImpl.java:[10,16] > package org.slf4j does not exist > > [ERROR] > /home/fabianc/Coding/Apache/Stanbol/trunk/reasoners/manager/src/main/java/org/apache/stanbol/reasoners/manager/ReasoningServicesManagerImpl.java:[11,16] > package org.slf4j does not exist > > [ERROR] > /home/fabianc/Coding/Apache/Stanbol/trunk/reasoners/manager/src/main/java/org/apache/stanbol/reasoners/manager/ReasoningServicesManagerImpl.java:[22,25] > cannot find symbol > symbol : class Logger > location: class > org.apache.stanbol.reasoners.manager.ReasoningServicesManagerImpl > > [ERROR] > /home/fabianc/Coding/Apache/Stanbol/trunk/reasoners/manager/src/main/java/org/apache/stanbol/reasoners/manager/ReasoningServicesManagerImpl.java:[22,38] > cannot find symbol > symbol : variable LoggerFactory > location: class > org.apache.stanbol.reasoners.manager.ReasoningServicesManagerImpl > > [INFO] 4 errors > [INFO] ------------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > > > IMHO this should work with Maven 2 as the whole Stanbol code base compiles > with Maven 2. > > Best, > - Fabian > > Am Freitag, 7. Oktober 2011 schrieb Enrico Daga : > >> On 6 October 2011 20:57, Stephen Bayliss >> <[email protected] <javascript:;>> wrote: >> > Maybe it's worth updating the README.md - as this specifies Maven 2.2.1? >> Well, if the readme says maven 2, it is probably more easy that I >> update the poms to support both. >> >> Thank you >> Enrico >> > >> >> -----Original Message----- >> >> From: Enrico Daga [mailto:[email protected]] >> >> Sent: 06 October 2011 14:43 >> >> To: [email protected] >> >> Subject: Re: KReS and slf4j >> >> >> >> >> >> On 6 October 2011 12:49, Stephen Bayliss >> >> <[email protected]> wrote: >> >> > Hi Enrico >> >> > >> >> > Happy to report that upgrading to Maven 3 has resolved the >> >> slf4j issue >> >> > - and that everything is building now with the latest source. >> >> > >> >> > Thanks for your help! >> >> Great :) >> >> >> >> > >> >> > Steve >> >> > >> >> >> -----Original Message----- >> >> >> From: Enrico Daga [mailto:[email protected]] >> >> >> Sent: 06 October 2011 09:46 >> >> >> To: [email protected] >> >> >> Subject: Re: KReS and slf4j >> >> >> >> >> >> >> >> >> Hi >> >> >> >> >> >> On 5 October 2011 20:31, Stephen Bayliss >> >> >> <[email protected]> wrote: >> >> >> > Hi Enrico >> >> >> > >> >> >> > Thanks for that - I'm trying again with the latest source >> >> >> and Maven 3. >> >> >> > >> >> >> > I am now getting a file not found error on: >> >> >> > >> >> >> > >> >> >> >> >> http://www.salzburgresearch.at/~rwesten/stanbol/dbpedia_43k.solrindex >> >> >> . >> >> >> > zip >> >> >> > >> >> >> > >> >> >> > [ERROR] Failed to execute goal >> >> >> > org.apache.maven.plugins:maven-antrun-plugin:1.6: >> >> >> > run (compile) on project >> >> >> > org.apache.stanbol.data.sites.dbpedia.default: An Ant B >> >> >> uildException >> >> >> > has occured: The following error occurred while >> >> executing this lin >> >> >> > e: >> >> >> > [ERROR] >> >> >> >> >> /home/share/stanbol/data/sites/dbpediadefault/download_index.xml:26: >> >> >> > Fai >> >> >> > led to copy >> >> >> > >> >> http://www.salzburgresearch.at/~rwesten/stanbol/dbpedia_43k.solrind >> >> >> > e >> >> >> > x.zip to >> >> >> > >> >> >> /home/share/stanbol/data/sites/dbpediadefault/src/main/resourc >> >> >> es/org/ap >> >> >> > >> >> >> ache/stanbol/data/site/dbpedia/default/index/dbpedia_43k.solri >> >> >> ndex.zip due >> >> >> > to ja >> >> >> > va.io.FileNotFoundException >> >> >> > http://www.salzburgresearch.at/~rwesten/stanbol/dbpe >> >> >> > dia_43k.solrindex.zip >> >> >> I am trying right now with a clean maven repo and latest >> >> revision. I >> >> >> will let you know soon >> >> >> >> >> >> Enrico >> >> >> > >> >> >> > Regards >> >> >> > Steve >> >> >> > >> >> >> >> -----Original Message----- >> >> >> >> From: Enrico Daga [mailto:[email protected]] >> >> >> >> Sent: 05 October 2011 16:37 >> >> >> >> To: [email protected] >> >> >> >> Subject: Re: KReS and slf4j >> >> >> >> >> >> >> >> >> >> > > > > -- > Fabian > http://twitter.com/fctwitt > -- Enrico Daga -- http://www.enridaga.net skype: enri-pan
