Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2237

Cannot Find Symbol while building the jar.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: EJBCA 4.0.3
    • Fix Version/s: None
    • Component/s: Install-script
    • Labels:
      None
    • Environment:
      Windows 7 (32 bit)
      Java 1.6.26
      Ant 1.8.2
      GlassFish 3.1

      Description

      Hello I'm trying to build the newest version of EJBCA but I get the following error thrown when I just run ant from the root ejbca dir.

      compile:
      [javac] Compiling 35 source files to C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\build
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\caadmin\CAData.java:39: c
      annot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64GetHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\caadmin\CAData.java:40: c
      annot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherData.j
      ava:30: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherQueueD
      ata.java:32: cannot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64GetHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherQueueD
      ata.java:33: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\hardtoken\HardTokenProfileDa
      ta.java:30: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ra\userdatasource\UserDataSo
      urceData.java:30: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\services\ServiceData.java:29
      : cannot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64GetHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\services\ServiceData.java:30
      : cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: package org.ejbca.util
      [javac] import org.ejbca.util.Base64PutHashMap;
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\caadmin\CAData.java:192:
      cannot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: class org.ejbca.core.ejb.ca.caadmin.CAData
      [javac] final HashMap<Object, Object> data = new Base64GetHashMap(h);
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\caadmin\CAData.java:226:
      cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.ca.caadmin.CAData
      [javac] final HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherData.j
      ava:105: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.ca.publisher.PublisherData
      [javac] HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherQueueD
      ata.java:172: cannot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: class org.ejbca.core.ejb.ca.publisher.PublisherQueueData
      [javac] HashMap data = new Base64GetHashMap(h);
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ca\publisher\PublisherQueueD
      ata.java:194: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.ca.publisher.PublisherQueueData
      [javac] HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\hardtoken\HardTokenProfileDa
      ta.java:96: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.hardtoken.HardTokenProfileData
      [javac] HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\ra\userdatasource\UserDataSo
      urceData.java:109: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.ra.userdatasource.UserDataSourceData
      [javac] HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\services\ServiceData.java:12
      3: cannot find symbol
      [javac] symbol : class Base64GetHashMap
      [javac] location: class org.ejbca.core.ejb.services.ServiceData
      [javac] HashMap data = new Base64GetHashMap(h);
      [javac] ^
      [javac] C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\src\org\ejbca\core\ejb\services\ServiceData.java:15
      3: cannot find symbol
      [javac] symbol : class Base64PutHashMap
      [javac] location: class org.ejbca.core.ejb.services.ServiceData
      [javac] HashMap a = new Base64PutHashMap();
      [javac] ^
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 18 errors

      BUILD FAILED
      C:\Users\Hugo\Downloads\ejbca_4_0_3\build.xml:621: The following error occurred while executing this line:
      C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\build.xml:87: The following error occurred while executing this line:
      C:\Users\Hugo\Downloads\ejbca_4_0_3\modules\ejbca-entity\build.xml:133: Compile failed; see the compiler error output fo
      r details.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas Tomas Gustavsson
              Reporter:
              hiro2k Hugo Garza
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: