Not compiling

Help
Saldanha
2012-09-26
2013-06-12
  • Saldanha

    Saldanha - 2012-09-26

    Hi! I can`t get OpenGTS compiled in Windows. Bellow is the result of "ant all"

    C:\PLANGEO\openGTS>ant all
    Buildfile: C:\PLANGEO\openGTS\build.xml
    clean:
       [delete] Deleting directory C:\PLANGEO\openGTS\build
    custom.jar:
         [echo] Skipping General Custom build ...
    customtrack.jar:
         [echo] Skipping Track Custom build ...
    custom:
    prepare:
        [mkdir] Created dir: C:\PLANGEO\openGTS\build
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\lib
         [echo] OS = Windows 7
         [echo] JavaHome = C:\Program Files\Java\jdk1.6.0_26\jre
         [exec] java version "1.6.0_26"
         [exec] Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
         [exec] Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
         [copy] Copying 2 files to C:\PLANGEO\openGTS\build\lib
         [echo] (Ignore copy 'not found' warnings)
    gtsutils.compile:
         [echo] Compiling gtsutils.jar source ...
        [javac] Compiling 58 source files to C:\PLANGEO\openGTS\build
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\OSTools.java:666: warning: s
    un.reflect.Reflection is Sun proprietary API and may be removed in a future rele
    ase
        [javac]         return sun.reflect.Reflection.getCallerClass(frame + 1); //
    <== ignore any warnings
        [javac]                           ^
        [javac] 1 warning
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\util\package-inf
    o.class
         [echo] Compiling SendMailArgs.java (optional if 'mail.jar' not available) .
    ..
        [javac] Compiling 1 source file to C:\PLANGEO\openGTS\build
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:37: packag
    e javax.mail does not exist
        [javac] import javax.mail.*;
        [javac] ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:38: packag
    e javax.mail.internet does not exist
        [javac] import javax.mail.internet.*;
        [javac] ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:365: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]     private static InternetAddress[] _convertRecipients(String to[])
        [javac]                    ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:366: canno
    t find symbol
        [javac] symbol  : class AddressException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         throws AddressException
        [javac]                ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:400: canno
    t find symbol
        [javac] symbol  : class Address
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]     private static void _printAddresses(String msg, Address addr[])
        [javac]                                                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:167: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 InternetAddress ia = new InternetAddress(addr, true)
    ;
        [javac]                 ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:167: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 InternetAddress ia = new InternetAddress(addr, true)
    ;
        [javac]                                          ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:266: packa
    ge javax.mail does not exist
        [javac]         javax.mail.Authenticator auth = null;
        [javac]                   ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:268: packa
    ge javax.mail does not exist
        [javac]             auth = new javax.mail.Authenticator() {
        [javac]                                  ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:279: canno
    t find symbol
        [javac] symbol  : class Session
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         Session session = Session.getInstance(props, auth);
        [javac]         ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:279: canno
    t find symbol
        [javac] symbol  : variable Session
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         Session session = Session.getInstance(props, auth);
        [javac]                           ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:282: canno
    t find symbol
        [javac] symbol  : class MimeMessage
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             MimeMessage msg = new MimeMessage(session);
        [javac]             ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:282: canno
    t find symbol
        [javac] symbol  : class MimeMessage
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             MimeMessage msg = new MimeMessage(session);
        [javac]                                   ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:283: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             msg.setFrom(new InternetAddress(from));
        [javac]                             ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:285: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             InternetAddress toAddr[]  = _convertRecipients(to);
        [javac]             ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:286: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             InternetAddress ccAddr[]  = _convertRecipients(cc);
        [javac]             ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:287: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             InternetAddress bccAddr[] = _convertRecipients(bcc);
        [javac]             ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:296: packa
    ge Message does not exist
        [javac]                 msg.setRecipients(Message.RecipientType.TO , toAddr)
    ;
        [javac]                                          ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:297: packa
    ge Message does not exist
        [javac]                 msg.setRecipients(Message.RecipientType.CC , ccAddr)
    ;
        [javac]                                          ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:298: packa
    ge Message does not exist
        [javac]                 msg.setRecipients(Message.RecipientType.BCC, bccAddr
    );
        [javac]                                          ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:302: canno
    t find symbol
        [javac] symbol  : class Multipart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     Multipart multipart = new MimeMultipart();
        [javac]                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:302: canno
    t find symbol
        [javac] symbol  : class MimeMultipart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     Multipart multipart = new MimeMultipart();
        [javac]                                               ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:304: canno
    t find symbol
        [javac] symbol  : class MimeBodyPart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                         MimeBodyPart textBodyPart = new MimeBodyPart
    ();
        [javac]                         ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:304: canno
    t find symbol
        [javac] symbol  : class MimeBodyPart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                         MimeBodyPart textBodyPart = new MimeBodyPart
    ();
        [javac]                                                         ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:309: canno
    t find symbol
        [javac] symbol  : class BodyPart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     BodyPart attachBodyPart = new MimeBodyPart();
        [javac]                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:309: canno
    t find symbol
        [javac] symbol  : class MimeBodyPart
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     BodyPart attachBodyPart = new MimeBodyPart();
        [javac]                                                   ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:324: canno
    t find symbol
        [javac] symbol  : class Transport
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     Transport transport = session.getTransport("smtp
    ");
        [javac]                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:329: canno
    t find symbol
        [javac] symbol  : variable Transport
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     Transport.send(msg);
        [javac]                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:338: canno
    t find symbol
        [javac] symbol  : class MessagingException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         } catch (MessagingException me) {
        [javac]                  ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:342: canno
    t find symbol
        [javac] symbol  : class SendFailedException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 if (ex instanceof SendFailedException) {
        [javac]                                   ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:343: canno
    t find symbol
        [javac] symbol  : class SendFailedException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     SendFailedException sfex = (SendFailedException)
    ex;
        [javac]                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:343: canno
    t find symbol
        [javac] symbol  : class SendFailedException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                     SendFailedException sfex = (SendFailedException)
    ex;
        [javac]                                                 ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:348: canno
    t find symbol
        [javac] symbol  : class MessagingException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 ex = (ex instanceof MessagingException)? ((Messaging
    Exception)ex).getNextException() : null;
        [javac]                                     ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:348: canno
    t find symbol
        [javac] symbol  : class MessagingException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 ex = (ex instanceof MessagingException)? ((Messaging
    Exception)ex).getNextException() : null;
        [javac]                                                            ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:368: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         java.util.List<InternetAddress> inetAddr = new Vector<Intern
    etAddress>();
        [javac]                        ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:368: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         java.util.List<InternetAddress> inetAddr = new Vector<Intern
    etAddress>();
        [javac]                                                               ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:386: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]                 inetAddr.add(new InternetAddress(t));
        [javac]                                  ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:387: canno
    t find symbol
        [javac] symbol  : class AddressException
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]             } catch (AddressException ae) {
        [javac]                      ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\util\SendMailArgs.java:392: canno
    t find symbol
        [javac] symbol  : class InternetAddress
        [javac] location: class org.opengts.util.SendMailArgs
        [javac]         return inetAddr.toArray(new InternetAddress[inetAddr.size()]
    );
        [javac]                                     ^
        [javac] 39 errors
        [javac] Compile failed; see the compiler error output for details.
         [echo] Compiling dbtools ...
        [javac] Compiling 24 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\dbtools\package-
    info.class
    gtsutils.exceltools:
    gtsutils.sigHandler:
    gtsutils.optional:
    gtsutils.jar:
         [echo] Creating gtsutils.jar ...
         [copy] Copying 14 files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\gtsutils.jar
    gtsutils:
    CompileTime.java:
         [echo] Creating CompileTime module ...
    gtsdb:
         [echo] Creating gtsdb.jar ...
        [javac] Compiling 110 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\tinygeo
    coder\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\db\tables\packag
    e-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\nominat
    im\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\dbtypes\package-
    info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\google\
    package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\geoname
    s\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\db\dmtp\package-
    info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\gisgrap
    hy\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\geocoder\package
    -info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\db\package-info.
    class
         [copy] Copying 42 files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\gtsdb.jar
         [copy] Copying 1 file to C:\PLANGEO\openGTS\build\lib
    optjars:
    tomcat.home:
         [echo] 'CATALINA_HOME' is defined - C:\Program Files\Apache Software Founda
    tion\Tomcat 7.0
    tomcat.env:
    tools:
         [echo] Tools ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\tools\package-in
    fo.class
         [copy] Copying 14 files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\tools.jar
    gtsdmtp:
         [echo] Creating 'gtsdmtp.jar' ...
        [javac] Compiling 6 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\servers\gtsdmtp\
    package-info.class
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\gtsdmtp.jar
    compile.base:
         [echo] Libraries compiled ...
    icare:
         [echo] I-Care G3300 server 'icare.jar' ...
        [javac] Compiling 6 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\servers\icare\pa
    ckage-info.class
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\icare.jar
    aspicore:
         [echo] Aspicore 'aspicore.jar' ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\aspicore.jar
    tk10x:
         [echo] TK102/TK103 'tk10x.jar' ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\tk10x.jar
    sipgear:
         [echo] SipGear 'sipgear.jar' ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\sipgear.jar
    taip:
         [echo] TAIP server 'taip.jar' ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\taip.jar
    lantrix:
         [echo] Lantrix T1800/T2000 DCS 'lantrix.jar' ...
        [javac] Compiling 4 source files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\lantrix.jar
    template:
         [echo] template ...
        [javac] Compiling 5 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\servers\template
    \package-info.class
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\template.jar
    compile.servers:
         [echo] Servers compiled ...
    wartools:
         [echo] Creating 'wartools.jar' ...
        [javac] Compiling 20 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\report\packa
    ge-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\report\event
    \package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\report\prese
    ntation\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\report\field
    \package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\report\dmtp\
    package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\tools\packag
    e-info.class
         [copy] Copying 70 files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\wartools.jar
    warmaps:
         [echo] Creating 'warmaps.jar' ...
        [javac] Compiling 6 source files to C:\PLANGEO\openGTS\build
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\maps\package
    -info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\org\opengts\war\maps\jsmap\p
    ackage-info.class
         [copy] Copying 28 files to C:\PLANGEO\openGTS\build
          [jar] Building jar: C:\PLANGEO\openGTS\build\lib\warmaps.jar
    track.prepare:
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\WEB-INF
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\WEB-INF\classes
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\WEB-INF\tld
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\images
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\js
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\track\css
         [copy] Copying 5 files to C:\PLANGEO\openGTS\build\track\WEB-INF
         [copy] Copying 7 files to C:\PLANGEO\openGTS\build\track\WEB-INF
         [copy] Warning: C:\PLANGEO\openGTS\dcservers does not exist.
         [copy] Warning: C:\PLANGEO\openGTS\clients\gts\private does not exist.
         [copy] Warning: C:\PLANGEO\openGTS\clients\gts\war\track\custom does not ex
    ist.
         [copy] Copying 71 files to C:\PLANGEO\openGTS\build\track\images
         [copy] Copying 178 files to C:\PLANGEO\openGTS\build\track
    track.compile:
         [echo] Compiling 'track.war' servlet ...
        [javac] Compiling 42 source files to C:\PLANGEO\openGTS\build\track\WEB-INF\
    classes
        [javac] Creating empty C:\PLANGEO\openGTS\build\track\WEB-INF\classes\org\op
    engts\war\track\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\track\WEB-INF\classes\org\op
    engts\war\track\page\devcmd\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\track\WEB-INF\classes\org\op
    engts\war\track\taglib\package-info.class
        [javac] Creating empty C:\PLANGEO\openGTS\build\track\WEB-INF\classes\org\op
    engts\war\track\page\package-info.class
         [copy] Copying 42 files to C:\PLANGEO\openGTS\build\track\WEB-INF\classes
    track.war:
         [echo] Creating 'track.war' archive ...
          [war] Building war: C:\PLANGEO\openGTS\build\track.war
    track:
         [echo] 'track.war' created.
    events.compile:
         [echo] Compiling 'events.war' servlet ...
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\events
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\events\WEB-INF
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\events\WEB-INF\classes
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\events\WEB-INF\tlds
        [javac] Compiling 2 source files to C:\PLANGEO\openGTS\build\events\WEB-INF\
    classes
        [javac] Creating empty C:\PLANGEO\openGTS\build\events\WEB-INF\classes\org\o
    pengts\war\events\package-info.class
         [copy] Copying 5 files to C:\PLANGEO\openGTS\build\events\WEB-INF
         [copy] Copying 1 file to C:\PLANGEO\openGTS\build\events
         [copy] Copying 2 files to C:\PLANGEO\openGTS\build\events\WEB-INF
         [copy] Warning: C:\PLANGEO\openGTS\clients\gts\private does not exist.
    events.war:
         [echo] Creating 'events.war' file ...
          [war] Building war: C:\PLANGEO\openGTS\build\events.war
    events:
         [echo] 'events.war' created.
    mologogo.compile:
         [echo] Compiling 'mologogo.war' servlet ...
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\mologogo
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\mologogo\WEB-INF
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\mologogo\WEB-INF\classes
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\mologogo\WEB-INF\tlds
        [javac] Compiling 2 source files to C:\PLANGEO\openGTS\build\mologogo\WEB-IN
    F\classes
        [javac] Creating empty C:\PLANGEO\openGTS\build\mologogo\WEB-INF\classes\org
    \opengts\war\mologogo\package-info.class
         [copy] Copying 5 files to C:\PLANGEO\openGTS\build\mologogo\WEB-INF
         [copy] Copying 1 file to C:\PLANGEO\openGTS\build\mologogo
         [copy] Copying 2 files to C:\PLANGEO\openGTS\build\mologogo\WEB-INF
         [copy] Warning: C:\PLANGEO\openGTS\clients\gts\private does not exist.
    mologogo.war:
         [echo] Creating 'mologogo.war' archive ...
          [war] Building war: C:\PLANGEO\openGTS\build\mologogo.war
    mologogo:
         [echo] 'mologogo.war' created.
    gc101.compile:
         [echo] Compiling 'gc101.war' servlet ...
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gc101
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gc101\WEB-INF
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gc101\WEB-INF\classes
        [javac] Compiling 2 source files to C:\PLANGEO\openGTS\build\gc101\WEB-INF\c
    lasses
        [javac] Creating empty C:\PLANGEO\openGTS\build\gc101\WEB-INF\classes\org\op
    engts\war\gc101\package-info.class
         [copy] Copying 5 files to C:\PLANGEO\openGTS\build\gc101\WEB-INF
         [copy] Copying 1 file to C:\PLANGEO\openGTS\build\gc101
         [copy] Copying 2 files to C:\PLANGEO\openGTS\build\gc101\WEB-INF
         [copy] Warning: C:\PLANGEO\openGTS\clients\gts\private does not exist.
    gc101.war:
         [echo] Creating 'gc101.war' archive ...
          [war] Building war: C:\PLANGEO\openGTS\build\gc101.war
    gc101:
         [echo] 'gc101.war' created.
    gprmc.compile:
         [echo] Compiling 'gprmc.war' servlet ...
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gprmc
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gprmc\WEB-INF
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gprmc\WEB-INF\classes
        [mkdir] Created dir: C:\PLANGEO\openGTS\build\gprmc\WEB-INF\tlds
        [javac] Compiling 2 source files to C:\PLANGEO\openGTS\build\gprmc\WEB-INF\c
    lasses
        [javac] C:\PLANGEO\openGTS\src\org\opengts\war\gprmc\Data.java:262: package
    javax.mail does not exist
        [javac] import javax.mail.Session;
        [javac]                  ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\war\gprmc\Data.java:263: package
    javax.mail does not exist
        [javac] import javax.mail.Message;
        [javac]                  ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\war\gprmc\Data.java:264: package
    javax.mail.internet does not exist
        [javac] import javax.mail.internet.MimeMessage;
        [javac]                           ^
        [javac] C:\PLANGEO\openGTS\src\org\opengts\war\gprmc\Data.java:265: package
    javax.mail.internet does not exist
        [javac] import javax.mail.internet.InternetAddress;
        [javac]                           ^
        [javac] 4 errors
    BUILD FAILED
    C:\PLANGEO\openGTS\build.xml:1331: Compile failed; see the compiler error output
     for details.
    Total time: 18 seconds
    C:\PLANGEO\openGTS>
    
     
  • Eduardo Robles

    Eduardo Robles - 2012-09-26

    Hi Raphael,
    It seems like you did not install the mail.jar file in your $JAVA_HOME/jre/lib/ext/ directory. You can download it from: http://www.oracle.com/technetwork/java/javamail/index.html.
    Please check the OpenGTS_Config.pdf file, section 2.2) JavaMail Support.
    Cheers,
    Eduardo.

     
  • Puneet Baijal

    Puneet Baijal - 2013-01-18

    I am also facing the same issue.
    Have you been able to fix it? any help on this would be appriciated.

     
  • Puneet Baijal

    Puneet Baijal - 2013-01-18

    To add I have added the mail.jar file at the desired location. Is their anything else that I need to do ??

     
  • tea4two

    tea4two - 2013-01-18

    Hi,
    Start your debug running:

    bin/CheckInstall.sh (o bin/CheckInstall.bat under windows)

    this is a very good tool to understand what is wrong.

    Regards,
    - Pierluigi

     

Log in to post a comment.