Hi Ahmed,
This seems strange, can you enable debug logging for more info?
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
On Sun, Apr 21, 2013 at 4:05 PM, Ahmed Ktob <[email protected]> wrote:
> Hello guys,
>
> I was trying to run the Abstract Extraction for Arabic language, but I got
> this error:
>
> *"Content not allowed in prolog."*
>
> The error track from my IDE is :
>
> [INFO] launcher 'import' selected =>
> org.dbpedia.extraction.dump.sql.Import
> importing pages in namespaces [Template] from
> C:\Users\AHMED\Desktop\arwiki\20130411\arwiki-20130411-pages-articles.xml.bz2
> to database arwiki on server URL
> jdbc:mysql://localhost/?characterEncoding=UTF-8&user=root&password=test
> 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:601)
> at org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
> at
> org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
> Caused by: javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[1,1]
> *Message: Contenu non autoris� dans le prologue.*
> at
> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598)
> at
> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.nextTag(XMLStreamReaderImpl.java:1238)
> at
> org.dbpedia.extraction.sources.WikipediaDumpParser.nextTag(WikipediaDumpParser.java:428)
> at
> org.dbpedia.extraction.sources.WikipediaDumpParser.readDump(WikipediaDumpParser.java:130)
> at
> org.dbpedia.extraction.sources.WikipediaDumpParser.run(WikipediaDumpParser.java:116)
> at
> org.dbpedia.extraction.sources.XMLReaderSource.foreach(XMLSource.scala:65)
> at org.dbpedia.extraction.dump.sql.Importer.process(Importer.scala:26)
> at
> org.dbpedia.extraction.dump.sql.Import$$anonfun$main$1.apply(Import.scala:60)
> at
> org.dbpedia.extraction.dump.sql.Import$$anonfun$main$1.apply(Import.scala:40)
> at
> scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
> at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:38)
> at org.dbpedia.extraction.dump.sql.Import$.main(Import.scala:40)
> at org.dbpedia.extraction.dump.sql.Import.main(Import.scala)
> ... 6 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 26.334s
> [INFO] Finished at: Sun Apr 21 13:58:20 GMT+01:00 2013
> [INFO] Final Memory: 10M/175M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.scala-tools:maven-scala-plugin:2.15.2:run (default-cli) on project
> dump: wrap: org.apache.commons.exec.ExecuteException: Process exited with
> an error: -10000(Exit value: -10000) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> Any idea please ?
> Thanks.
> --
> *------------------------------------------------
> **Ahmed Ktob
> Dr. Taher Moulay* *University * *
> Department of Computer Science*
> *Saida , Algeria*
> *Tel : +213 554 811 151**
> ------------------------------------------------*
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
--
Kontokostas Dimitris
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion