Erro ao compilar

1. Erro ao compilar

stevan
stevancseke

(usa CentOS)

Enviado em 21/01/2012 - 12:47h

Estou tentando montar um sevidor com OpenGTS, porem me deparei com esse erro na compilação... se algum puder ajudar.

Obrigado a todos do VOL.





[stevan@localhost gts]$ ant all
Buildfile: build.xml

clean:

custom.jar:
[echo] Skipping General Custom build ...

customtrack.jar:
[echo] Skipping Track Custom build ...

custom:

prepare:
[mkdir] Created dir: /usr/local/OpenGTS_2.3.9/build
[mkdir] Created dir: /usr/local/OpenGTS_2.3.9/build/lib
[echo] OS = Linux
[echo] JavaHome = /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
[exec] java version "1.6.0_22"
[exec] OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.42.1.10.4.el6_2-x86_64)
[exec] OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
[copy] Copying 2 files to /usr/local/OpenGTS_2.3.9/build/lib
[echo] (Ignore copy 'not found' warnings)
[mkdir] Created dir: /usr/local/OpenGTS_2.3.9/jlib/jdbc.derby
[mkdir] Created dir: /usr/local/OpenGTS_2.3.9/jlib/jdbc.sqlserver
[mkdir] Created dir: /usr/local/OpenGTS_2.3.9/jlib/apache

gtsutils.compile:
[echo] Compiling gtsutils.jar source ...
[javac] Compiling 64 source files to /usr/local/OpenGTS_2.3.9/build
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/util/OSTools.java:661: warning: sun.reflect.Reflection is internal proprietary API and may be removed in a future release
[javac] return sun.reflect.Reflection.getCallerClass(frame + 1); // <== ignore any warnings
[javac] ^
[javac] 1 warning
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/util/package-info.class
[javac] Compiling 1 source file to /usr/local/OpenGTS_2.3.9/build
[javac] Compiling 24 source files to /usr/local/OpenGTS_2.3.9/build
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/dbtools/package-info.class

gtsutils.optional:

gtsutils.jar:
[echo] Creating gtsutils.jar ...
[copy] Copying 14 files to /usr/local/OpenGTS_2.3.9/build
[jar] Building jar: /usr/local/OpenGTS_2.3.9/build/lib/gtsutils.jar

gtsutils:

CompileTime.java:
[echo] Creating CompileTime module ...

gtsdb:
[echo] Creating gtsdb.jar ...
[javac] Compiling 103 source files to /usr/local/OpenGTS_2.3.9/build
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/tinygeocoder/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/db/tables/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/nominatim/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/dbtypes/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/google/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/geonames/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/db/dmtp/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/gisgraphy/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/geocoder/package-info.class
[javac] Creating empty /usr/local/OpenGTS_2.3.9/build/org/opengts/db/package-info.class
[copy] Copying 42 files to /usr/local/OpenGTS_2.3.9/build
[jar] Building jar: /usr/local/OpenGTS_2.3.9/build/lib/gtsdb.jar
[copy] Copying 1 file to /usr/local/OpenGTS_2.3.9/build/lib

optjars:

tomcat.home:
[echo] 'CATALINA_HOME' is defined - /usr/local/apache-tomcat-6.0.35/

tomcat.env:

tools:
[echo] Tools ...
[javac] Compiling 4 source files to /usr/local/OpenGTS_2.3.9/build
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/tools/CheckInstall.java:1481: unmappable character for encoding UTF8
[javac] "";// + "(&#65533;,&#65533;,&#65533;,&#65533;,&#65533;)";
[javac] ^
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/tools/CheckInstall.java:1481: unmappable character for encoding UTF8
[javac] "";// + "(&#65533;,&#65533;,&#65533;,&#65533;,&#65533;)";
[javac] ^
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/tools/CheckInstall.java:1481: unmappable character for encoding UTF8
[javac] "";// + "(&#65533;,&#65533;,&#65533;,&#65533;,&#65533;)";
[javac] ^
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/tools/CheckInstall.java:1481: unmappable character for encoding UTF8
[javac] "";// + "(&#65533;,&#65533;,&#65533;,&#65533;,&#65533;)";
[javac] ^
[javac] /usr/local/OpenGTS_2.3.9/src/org/opengts/tools/CheckInstall.java:1481: unmappable character for encoding UTF8
[javac] "";// + "(&#65533;,&#65533;,&#65533;,&#65533;,&#65533;)";
[javac] ^
[javac] 5 errors

BUILD FAILED
/usr/local/OpenGTS_2.3.9/build.xml:1897: Compile failed; see the compiler error output for details.

Total time: 1 minute 1 second
[stevan@localhost gts]$


  


2. Re: Erro ao compilar

Rodrigo NH
DanDare

(usa Debian)

Enviado em 03/02/2012 - 18:00h

Fala stevancseke,

Estava com o mesmo problema.
Isso aqui resolveu para mim: http://sourceforge.net/projects/opengts/forums/forum/579835/topic/4873063

Boa sorte






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts