Dear Dimtris,

I'm using IntelliJ IDEA 12.1.4 under Ubuntu OS, I'm trying to run DBpedia 
Extraction Framework I got this error :

/usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dmaven.home=/usr/share/maven2 
-Dclassworlds.conf=/usr/share/maven2/bin/m2.conf -Didea.launcher.port=7532 
-Didea.launcher.bin.path=/home/anm/Applications/IntelliJ12/idea-IC-129.713/bin 
-Dfile.encoding=UTF-8 -classpath 
/usr/share/maven2/boot/classworlds.jar:/home/anm/Applications/IntelliJ12/idea-IC-129.713/lib/idea_rt.jar
 com.intellij.rt.execution.application.AppMain 
org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast 
--strict-checksums org.scala-tools:maven-scala-plugin:2.15.2:run
+ Enabling strict checksum verification on all artifact downloads.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building DBpedia Dump Extraction
[INFO]    task-segment: [org.scala-tools:maven-scala-plugin:2.15.2:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing scala:run
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/anm/Applications/IntelliJ12/idea-IC-129.713/extraction-framework/dump/src/main/resources
[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] Nothing to compile - all classes are up to date
[INFO] [scala:compile {execution: compile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/anm/Applications/IntelliJ12/idea-IC-129.713/extraction-framework/dump/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [scala:testCompile {execution: test-compile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[WARNING] No source files found.
[INFO] [scala:run {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO] launcher 'import' selected => org.dbpedia.extraction.dump.sql.Import
parsing /home/release/wikipedia/wikipedias.csv
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
    at 
org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
Caused by: java.io.FileNotFoundException: 
/home/release/wikipedia/wikipedias.csv (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at scala.io.Source$.fromFile(Source.scala:91)
    at scala.io.Source$.fromFile(Source.scala:76)
    at org.dbpedia.extraction.util.WikiInfo$.fromFile(WikiInfo.scala:26)
    at 
org.dbpedia.extraction.util.ConfigUtils$.parseLanguages(ConfigUtils.scala:43)
    at org.dbpedia.extraction.dump.sql.Import$.main(Import.scala:30)
    at org.dbpedia.extraction.dump.sql.Import.main(Import.scala)
    ... 6 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] wrap: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 240(Exit value: 240)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Jul 31 22:11:14 BST 2013
[INFO] Final Memory: 24M/216M
[INFO] ------------------------------------------------------------------------

Process finished with exit code 1


When I search on the Internet I found your solution:

$../run download config=YourDownloadConfigFile (to download the wikipedia dumps)
$../run extract config=YourExtractConfigFile (to start extraction)

But unfortunately it does not work with me it gave me the following error:

../run download config=YourDownloadConfigFile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building DBpedia Dump Extraction
[INFO]    task-segment: [scala:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing scala:run
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom
4K downloaded  (maven-resources-plugin-2.3.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.jar
20K downloaded  (maven-resources-plugin-2.3.jar)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.pom
3K downloaded  (maven-filtering-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.pom
6K downloaded  (maven-core-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom
637b downloaded  (wagon-file-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-providers/1.0-beta-2/wagon-providers-1.0-beta-2.pom
1K downloaded  (wagon-providers-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.pom
1K downloaded  (maven-plugin-parameter-documenter-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.pom
1K downloaded  (wagon-http-lightweight-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
845b downloaded  (wagon-http-shared-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom
1K downloaded  (jtidy-4aug2000r7-dev.pom)
Downloading: 
http://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
2K downloaded  (xml-apis-1.0.b2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.pom
1K downloaded  (maven-reporting-api-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/reporting/maven-reporting/2.0.6/maven-reporting-2.0.6.pom
1K downloaded  (maven-reporting-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.pom
424b downloaded  (doxia-sink-api-1.0-alpha-7.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-7/doxia-1.0-alpha-7.pom
3K downloaded  (doxia-1.0-alpha-7.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.pom
1K downloaded  (maven-error-diagnostics-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
2K downloaded  (commons-cli-1.0.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.pom
1K downloaded  (wagon-ssh-external-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.pom
851b downloaded  (wagon-ssh-common-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.pom
6K downloaded  (plexus-interactivity-api-1.0-alpha-4.pom)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom
1K downloaded  (plexus-container-default-1.0-alpha-7.pom)
Downloading: 
http://repo1.maven.org/maven2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom
471b downloaded  (plexus-containers-1.0.2.pom)
Downloading: 
http://repo1.maven.org/maven2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom
5K downloaded  (plexus-root-1.0.3.pom)
Downloading: 
http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.pom
740b downloaded  (plexus-utils-1.0.2.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.pom
1K downloaded  (maven-plugin-descriptor-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.pom
1K downloaded  (maven-monitor-2.0.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.pom
1K downloaded  (wagon-ssh-1.0-beta-2.pom)
Downloading: 
http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.27/jsch-0.1.27.pom
965b downloaded  (jsch-0.1.27.pom)
Downloading: 
http://repo1.maven.org/maven2/classworlds/classworlds/1.1/classworlds-1.1.pom
3K downloaded  (classworlds-1.1.pom)
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.pom
2K downloaded  (plexus-interpolation-1.6.pom)
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar
32K downloaded  (maven-filtering-1.0-beta-2.jar)
49K downloaded  (plexus-interpolation-1.6.jar)
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/anm/Applications/IntelliJ12/idea-IC-129.713/extraction-framework/dump/src/main/resources
Downloading: 
http://repo1.maven.org/maven2/org/dbpedia/extraction/core/3.8/core-3.8.pom
[INFO] Unable to find resource 'org.dbpedia.extraction:core:pom:3.8' in 
repository central (http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/dbpedia/extraction/core/3.8/core-3.8.jar
[INFO] Unable to find resource 'org.dbpedia.extraction:core:jar:3.8' in 
repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.dbpedia.extraction:core:jar:3.8

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=org.dbpedia.extraction 
-DartifactId=core -Dversion=3.8 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=org.dbpedia.extraction -DartifactId=core 
-Dversion=3.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]

  Path to dependency: 
      1) org.dbpedia.extraction:dump:jar:3.8
      2) org.dbpedia.extraction:core:jar:3.8

----------
1 required artifact is missing.

for artifact: 
  org.dbpedia.extraction:dump:jar:3.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Jul 31 23:20:51 BST 2013
[INFO] Final Memory: 9M/117M
[INFO] ------------------------------------------------------------------------



                                          

Many thanks in advance .

With Regards,
Abdullah
                                          
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to