Hello dbpedia-community!
I'm having troubles with mvn install of the DEF and I hope that someone
here can help me. If I don't comment out the Live Module from
extraction_framework's POM-File mvn install won't complete successfully.
That's what it complains about:
[INFO]
------------------------------------------------------------------------
[INFO] Building Live extraction
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory K:\Work\Eclipse
Workspace\extraction_
framework\live\src\main\resources
[INFO] snapshot org.openanzo:anzo-client-jena:3.0-SNAPSHOT: checking for
updates
from openanzo-snapshots
Downloading:
http://prod1.aksw.org:8081/archiva/repository/snapshots/org/openanz
o/anzo-client-jena/3.0-SNAPSHOT/anzo-client-jena-3.0-20110609.085953-1.pom
Downloading:
http://prod1.aksw.org:8081/archiva/repository/snapshots/org/openanz
o/anzo-client-jena/3.0-SNAPSHOT/anzo-client-jena-3.0-20110609.085953-1.pom
[INFO] [scala:compile {execution: process-resources}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] Nothing to compile - all classes are up to date
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 91 source files to K:\Work\Eclipse
Workspace\extraction_framewo
rk\live\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
K:\Work\Eclipse
Workspace\extraction_framework\live\src\main\java\org\dbpedia\ex
traction\live\util\collections\IMultiMap.java:[9,6] error: name clash:
put(TKey,
TValue) in IMultiMap and put(K,V) in Map have the same erasure, yet
neither over
rides the other
could not parse error message: where TKey,TValue,K,V are type-variables:
TKey extends Object declared in interface IMultiMap
TValue extends Object declared in interface IMultiMap
K extends Object declared in interface Map
V extends Object declared in interface Map
K:\Work\Eclipse
Workspace\extraction_framework\live\src\main\java\org\dbpedia\ex
traction\live\util\collections\MultiMap.java:17: error: name clash:
put(TKey,TVa
lue) in MultiMap and put(K,V) in HashMap have the same erasure, yet
neither over
rides the other
public void put(TKey key, TValue value)
^
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Feb 07 14:18:24 CET 2012
[INFO] Final Memory: 41M/99M
[INFO]
------------------------------------------------------------------------
If I comment the live-module out, run the install successfully but
consequently running mvn scala:run in dump folder starts to download the
tables.sql but throws a new exception:
Information: Downloading tables.sql to disk
Feb 07, 2012 2:06:20 PM
org.dbpedia.extraction.dump.Download$DumpDownloader$$ano
nfun$org$dbpedia$extraction$dump$Download$DumpDownloader$$downloadWiki$1
apply
Information: Downloading enwiki-20110526-pages-articles.xml.bz2 to disk
Exception in thread "Thread-1" java.io.IOException: Empty InputStream
at
org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStr
eam.init(BZip2CompressorInputStream.java:212)
That's my config.properties located in dump-folder:
dumpDir=K:/Work/Eclipse Workspace/DBpedia_Dumps/to_update
outputDir=K:/Work/Eclipse Workspace/DBpedia_Dumps/updated
updateDumps=true
extractors=org.dbpedia.extraction.mappings.LabelExtractor \
org.dbpedia.extraction.mappings.PageLinksExtractor \
org.dbpedia.extraction.mappings.WikiPageExtractor
extractors.en=org.dbpedia.extraction.mappings.ArticleCategoriesExtractor \
org.dbpedia.extraction.mappings.CategoryLabelExtractor \
org.dbpedia.extraction.mappings.DisambiguationExtractor \
org.dbpedia.extraction.mappings.ExternalLinksExtractor \
org.dbpedia.extraction.mappings.PageIdExtractor \
org.dbpedia.extraction.mappings.RedirectExtractor \
org.dbpedia.extraction.mappings.SkosCategoriesExtractor
languages=en
Since the description on dbpedia.org says just to run mvn install and
then the scala:run I don't know what could cause the problem. Also
googling for a specific error regarding the extraction_framework leads
to no results.
I'm working with Eclipse IDE installed the 3 required plugins and
downloaded the most recent revision from repository.
I hope you can help me set this thing up so I get the latest dumps. I'd
be most grateful :)
Regards,
David
P.S.: dumpDir=K:/Work/Eclipse Workspace/DBpedia_Dumps/to_update is where
my current "old" dumps are. Is it correct that every dump that is not
located there will not be updated but downloaded completely? It seems
that if the dumpDir is empty he throws a FileNotFound error so the
procedure is looking for dumps and trys to open something but shouldn't
it just conclude that there are no dumps to update and download them fresh?
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion