Hi David,
We have never observed that problem on Linux, and I've never tried to
compile on Windows, so I'm not sure I can help you right now. However,
stack overflow has some suggestions if you search for "unmappable
character" and add combinations of "windows", "maven" and "java"
Did you try to add "<encoding>UTF-8</encoding>" to the main or the core
pom.xml?
http://stackoverflow.com/questions/1562843/howto-use-maven-in-a-heterogenous-environment-with-different-encodings
Cheers,
Pablo
On Tue, Jan 24, 2012 at 12:08 PM, David Gösenbauer <
[email protected]> wrote:
> Hi Folks!
>
> During my attempt to set up the webservice on my localhost for testing
> purposes I came across this error. Could anyone please help me overcome
> this obstacle. I'd appreciate it.
>
> Here's what happened on building process.
>
> C:\xampp\dbpedia-spotlight-0.5>mvn test
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] DBpedia Spotlight annotation framework (parent POM)
> [INFO] DBpedia Spotlight Core
> [INFO] DBpedia Spotlight Demo Web App
> [INFO] DBpedia Spotlight RESTful API
> [INFO] DBpedia Spotlight Distribution Packaging
> [INFO] DBpedia Spotlight Indexing
> [INFO] DBpedia Spotlight Evaluation
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building DBpedia Spotlight annotation framework (parent POM)
> [INFO] task-segment: [test]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [scala:add-source {execution: scala-compile-first}]
> [INFO] Add Source directory: C:\xampp\dbpedia-spotlight-0.5\src\main\scala
> [INFO] Add Test Source directory:
> C:\xampp\dbpedia-spotlight-0.5\src\test\scala
> [INFO] [scala:compile {execution: scala-compile-first}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building DBpedia Spotlight Core
> [INFO] task-segment: [test]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [install:install-file {execution: install-nx-parser-jar}]
> [INFO] Installing
> C:\xampp\dbpedia-spotlight-0.5\core\..\lib\nxparser-1.1.jar to
>
>
> C:\Users\Dave\.m2\repository\org\semanticweb\yars\nx-parser\1.1\nx-parser-1.1.j
> ar
> [INFO] [install:install-file {execution: install-lingpipe-jar}]
> [INFO] Installing
> C:\xampp\dbpedia-spotlight-0.5\core\..\lib\lingpipe-4.0.0.jar
> to
> C:\Users\Dave\.m2\repository\com\aliasi\lingpipe\4.0.0\lingpipe-4.0.0.jar
> [INFO] [install:install-file {execution: install-cloud9-jar}]
> [INFO] Installing C:\xampp\dbpedia-spotlight-0.5\core\..\lib\cloud9.jar
> to C:\Us
> ers\Dave\.m2\repository\edu\umd\cloud9\SNAPSHOT\cloud9-SNAPSHOT.jar
> [INFO] [install:install-file {execution: install-weka-jar}]
> [INFO] Installing
> C:\xampp\dbpedia-spotlight-0.5\core\..\lib\weka-trunk.jar to C
> :\Users\Dave\.m2\repository\weka\weka\3.7.3\weka-3.7.3.jar
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [scala:add-source {execution: scala-compile-first}]
> [INFO] Add Source directory:
> C:\xampp\dbpedia-spotlight-0.5\core\src\main\scala
> [INFO] Add Test Source directory:
> C:\xampp\dbpedia-spotlight-0.5\core\src\test\s
> cala
> [INFO] [scala:compile {execution: scala-compile-first}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] C:\xampp\dbpedia-spotlight-0.5\core\src\main\java:-1: info:
> compiling
> [INFO] C:\xampp\dbpedia-spotlight-0.5\core\src\main\scala:-1: info:
> compiling
> [INFO] Compiling 151 source files to
> C:\xampp\dbpedia-spotlight-0.5\core\target\
> classes at 1327402890620
> [WARNING] warning: there were 15 deprecation warnings; re-run with
> -deprecation
> for details
> [WARNING] warning: there were 1 unchecked warnings; re-run with
> -unchecked for d
> etails
> [WARNING] two warnings found
> [INFO] prepare-compile in 0 s
> [INFO] compile in 6 s
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 80 source files to
> C:\xampp\dbpedia-spotlight-0.5\core\target\c
> lasses
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\xampp\dbpedia-spotlight-0.5\core\src\main\java\org\dbpedia\spotlight\spot\coo
> ccurrence\features\CandidateFeatures.java:[18,49] error: unmappable
> character fo
> r encoding Cp1252
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 8 seconds
> [INFO] Finished at: Tue Jan 24 12:01:37 CET 2012
> [INFO] Final Memory: 21M/51M
> [INFO]
> ------------------------------------------------------------------------
>
> Regards,
> Dave
>
>
> ------------------------------------------------------------------------------
> 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
> _______________________________________________
> Dbp-spotlight-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
>
------------------------------------------------------------------------------
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
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users