From: zhiqian <zhi...@fe...> - 2008-04-01 13:55:24
|
Hi Tomas, Thank you very much for your reply. I've corrected my conf setting using the default value 15, but it still gave me the same errors. I'm uploading the output from ant bootstrap. My class path is set to jdk1.6 as the following: CLASSPATH=/opt/fedex/java/jdk/jre/lib:/opt/fedex/java/lib JAVA_HOME=/opt/fedex/java/jdk http://www.nabble.com/file/p16418443/bootstrap.out bootstrap.out The /opt/fedex/java is the root dir installing the jdk16. Would you please let me know if there's anything wrong with it? I really appreciate your help!!! Zhiqian Tomas Gustavsson wrote: > > > ejbca ejbca.properties you should not specify java.ver=1.6 when using > java 1.6. Leave that value to it's default. > > Cheers, > Tomas > > > zhiqian wrote: >> Hi Tomas, >> >> I'm using Red Hat 3.4 AS server. The original java version is 1.4, but I >> have downloaded >> jdk1.6 and set the path to look for jdk1.6. I've set CLASSPATH as the >> jre/lib of jdk1.6. >> >> The bc jars with the downloaded ejbca_3_6_b1 are bctsp-jdk15.jar and >> bcprov-jdk15.jar. Since >> I specified java version as java.ver=16 in ejbca.properties, it looked >> for >> bctsp-jdk16.jar and bcprov-jdk16.jar files. >> >> Please let me know what is my problem. Thank you so much for your help!!! >> >> Best Regards, >> >> Zhiqian >> >> >> Ejbca support wrote: >>> >>> Hi, >>> you do not have to download any bc jars to run ejbca. Actually you >>> should remove all BC jars if you have placed any in the classpath. >>> >>> The error message indicates that you perhaps have some strange version >>> of java in the classpath. >>> >>> What operating system are you using? >>> What does 'java -version' display? >>> >>> Regards, >>> Tomas >>> >>> >>> zhiqian wrote: >>>> Hi, >>>> >>>> Thank you so much for your reply! I was able to by pass the problem by >>>> downloading BC's jar file >>>> for jdk16. Now I'm running into another problem, please help me out... >>>> >>>> Please see the following error messages. I'm using jdk1.6 version. >>>> Please >>>> let me know if you need more info from me. Thank you so much for your >>>> help!! >>>> >>>> compile: >>>> [javac] Compiling 26 source files to >>>> /home/zx630087/ejbca_3_6_b1/tmp/bin/classes >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/util/KeyTools.java": >>>> [javac] >>>> [javac] 530. final Constructor construct = >>>> implClass.getConstructor(InputStream.class); >>>> [javac] >>>> ^-----------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getConstructor(java.lang.Class)" was found in type >>>> "java.lang.Class". Perhaps you wanted the overloaded version >>>> "java.lang.reflect.Constructor getConstructor(java.lang.Class... $1) >>>> throws >>>> java.lang.SecurityException, java.lang.NoSuchMethodException;" instead? >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/ejb/ca/caadmin/CAAdminSessionBean.java": >>>> [javac] >>>> [javac] 1521. String msg = >>>> intres.getLocalizedMessage("caadmin.importedca", caname, "PKCS12", >>>> ca.getStatus()); >>>> [javac] >>>> ^--------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, java.lang.String, >>>> java.lang.String, int)" was found in type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2, java.lang.Object $3, java.lang.Object $4);" >>>> instead? >>>> [javac] >>>> [javac] Found 1 semantic error and issued 3 warnings compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/ejb/ca/store/LocalCertificateStoreSessionBean.java": >>>> [javac] >>>> [javac] 333. TableProtectSessionLocal protect = >>>> protecthome.create(); >>>> [javac] ^-----^ >>>> [javac] *** Semantic Warning: Local "protect" shadows a field of >>>> the >>>> same name in >>>> "org.ejbca.core.ejb.ca.store.LocalCertificateStoreSessionBean". >>>> [javac] >>>> [javac] >>>> [javac] 1020. TableProtectSessionLocal protect; >>>> [javac] ^-----^ >>>> [javac] *** Semantic Warning: Local "protect" shadows a field of >>>> the >>>> same name in >>>> "org.ejbca.core.ejb.ca.store.LocalCertificateStoreSessionBean". >>>> [javac] >>>> [javac] >>>> [javac] 1131. TableProtectSessionLocal >>>> protect; >>>> [javac] >>>> ^-----^ >>>> [javac] *** Semantic Warning: Local "protect" shadows a field of >>>> the >>>> same name in >>>> "org.ejbca.core.ejb.ca.store.LocalCertificateStoreSessionBean". >>>> [javac] >>>> [javac] >>>> [javac] 1193. String msg = >>>> intres.getLocalizedMessage("store.errorgetcrl", issuerdn, maxnumber); >>>> [javac] >>>> ^------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, java.lang.String, >>>> int)" >>>> was >>>> found in type "org.ejbca.core.model.InternalResources". Perhaps you >>>> wanted >>>> the overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String $1, java.lang.Object $2, >>>> java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] Found 3 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/services/ServiceConfiguration.java": >>>> [javac] >>>> [javac] 221. log.debug(LATEST_VERSION); >>>> [javac] ^-----------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "debug(float)" was found in type "org.apache.log4j.Category". >>>> Perhaps you wanted the overloaded version "void debug(java.lang.Object >>>> $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 223. if >>>> (Float.compare(LATEST_VERSION, Float.valueOf(2)) >= 0) { >>>> [javac] >>>> ^---------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "compare(float, java.lang.Float)" was found in type >>>> "java.lang.Float". Perhaps you wanted the overloaded version "int >>>> compare(float $1, float $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 276. if >>>> (Float.compare(LATEST_VERSION, Float.valueOf(3)) >= 0) { >>>> [javac] >>>> ^---------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "compare(float, java.lang.Float)" was found in type >>>> "java.lang.Float". Perhaps you wanted the overloaded version "int >>>> compare(float $1, float $2);" instead? >>>> [javac] >>>> [javac] Found 3 semantic errors and issued 1 warning compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/log/ProtectedLogVerifier.java": >>>> [javac] >>>> [javac] >>>> <---------------------------------------------------------------------------------------------------- >>>> [javac] 144. >>>> log.error(intres.getLocalizedMessage("protectedlog.verifier.failed", >>>> protectedLogEventIdentifier.getNodeGUID(), >>>> [javac] 145. >>>> protectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> --------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <---------------------------------------------------------------------------------------------------- >>>> [javac] 153. >>>> log.error(intres.getLocalizedMessage("protectedlog.verifier.failed", >>>> protectedLogEventIdentifier.getNodeGUID(), >>>> [javac] 154. >>>> protectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <----------------------------------------------------------------------------------------------------------- >>>> [javac] 159. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.internallogerror", >>>> protectedLogEventIdentifier.getNodeGUID(), >>>> [javac] 160. >>>> protectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ----------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 182. ProtectedLogActions >>>> protectedLogActions >>>> = new ProtectedLogActions(properties); >>>> [javac] >>>> ^-----------------^ >>>> [javac] *** Semantic Warning: Local "protectedLogActions" shadows a >>>> field of the same name in >>>> "org.ejbca.core.model.log.ProtectedLogVerifier". >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/log/ProtectedLogToken.java": >>>> [javac] >>>> [javac] 148. return tokenIdentifier; >>>> [javac] ^-------------^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "java.lang.Integer", does not match the return type of the method, >>>> "int". >>>> [javac] >>>> [javac] Found 7 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/log/ProtectedLogEventIdentifier.java": >>>> [javac] >>>> [javac] 17. this.nodeGUID = nodeGUID; >>>> [javac] ^----------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "int", >>>> is not assignable to the variable, of type "java.lang.Integer". >>>> [javac] >>>> [javac] >>>> [javac] 18. this.counter = counter; >>>> [javac] ^--------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "long", is not assignable to the variable, of type "java.lang.Long". >>>> [javac] >>>> [javac] >>>> [javac] 42. return nodeGUID; >>>> [javac] ^------^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "java.lang.Integer", does not match the return type of the method, >>>> "int". >>>> [javac] >>>> [javac] >>>> [javac] 46. return counter; >>>> [javac] ^-----^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "java.lang.Long", does not match the return type of the method, "long". >>>> [javac] >>>> [javac] >>>> [javac] 58. return >>>> bb.putInt(nodeGUID).putLong(counter).array(); >>>> [javac] ^-----------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "putInt(java.lang.Integer)" was found in type >>>> "java.nio.ByteBuffer". Perhaps you wanted the overloaded version >>>> "java.nio.ByteBuffer putInt(int $1);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 70. nodeGUID = bb.getInt(); >>>> [javac] ^--------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "int", >>>> is not assignable to the variable, of type "java.lang.Integer". >>>> [javac] >>>> [javac] >>>> [javac] 71. counter = bb.getLong(); >>>> [javac] ^--------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "long", is not assignable to the variable, of type "java.lang.Long". >>>> [javac] >>>> [javac] Found 5 semantic errors and issued 2 warnings compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/log/ProtectedLogDevice.java": >>>> [javac] >>>> [javac] >>>> <-------------------------------------------------------------------------------------------------------- >>>> [javac] 298. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.logrowmissing", >>>> protectedLogEventIdentifier.getNodeGUID(), >>>> [javac] 299. >>>> protectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 304. >>>> ProtectedLogToken protectedLogToken = >>>> getProtectedLogSession().getToken(protectedLogEventRow.getProtectionKeyIdentifier()); >>>> [javac] >>>> ^---------------^ >>>> [javac] *** Semantic Warning: Local "protectedLogToken" shadows a >>>> field >>>> of the same name in "org.ejbca.core.model.log.ProtectedLogDevice". >>>> [javac] >>>> [javac] >>>> [javac] 306. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.tokenmissing", >>>> protectedLogEventRow.getProtectionKeyIdentifier())); >>>> [javac] >>>> ^--------------------------------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <-------------------------------------------------------------------------------------------------------- >>>> [javac] 313. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.logrowchanged", >>>> protectedLogEventIdentifier.getNodeGUID(), >>>> [javac] 314. >>>> protectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 335. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.logrowmissing", >>>> nodeGUID, counter-1)); >>>> [javac] >>>> ^---------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 338. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.logrowchanged", >>>> nodeGUID, counter-1)); >>>> [javac] >>>> ^---------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 393. ProtectedLogToken protectedLogToken >>>> = >>>> new ProtectedLogToken(); >>>> [javac] ^---------------^ >>>> [javac] *** Semantic Warning: Local "protectedLogToken" shadows a >>>> field >>>> of the same name in "org.ejbca.core.model.log.ProtectedLogDevice". >>>> [javac] >>>> [javac] Found 22 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/ejb/log/ProtectedLogSessionBean.java": >>>> [javac] >>>> [javac] 347. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.tokennotfound", >>>> tokenIdentifier)); >>>> [javac] >>>> ^-----------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 816. >>>> nodes.add(rs.getInt(1)); >>>> [javac] >>>> ^---------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 845. >>>> nodes.add(rs.getInt(1)); >>>> [javac] >>>> ^---------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 874. >>>> nodes.add(rs.getInt(1)); >>>> [javac] >>>> ^---------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 1140. ProtectedLogEventIdentifier >>>> newestProtectedLogEventIdentifier = >>>> findNewestProtectedLogEventRow(nodeGUIDs[i]); >>>> [javac] >>>> ^------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "findNewestProtectedLogEventRow(java.lang.Integer)" was found >>>> in >>>> type "org.ejbca.core.ejb.log.ProtectedLogSessionBean". Perhaps you >>>> wanted >>>> the overloaded version >>>> "org.ejbca.core.model.log.ProtectedLogEventIdentifier >>>> findNewestProtectedLogEventRow(int nodeGUID);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <------------------------------------------------------------- >>>> [javac] 1147. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.couldnotfetch", >>>> [javac] 1148. >>>> newestProtectedLogEventIdentifier.getNodeGUID(), >>>> newestProtectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ---------------------------------------------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <------------------------------------------------------- >>>> [javac] 1159. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.notoken", >>>> [javac] 1160. >>>> newestProtectedLogEventIdentifier.getNodeGUID(), >>>> newestProtectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> ---------------------------------------------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <--------------------------------------------------------------- >>>> [javac] 1166. String iMsg = >>>> intres.getLocalizedMessage("protectedlog.error.tokennotworking", >>>> [javac] 1167. >>>> newestProtectedLogEventRow.getProtectionKeyIdentifier()); >>>> [javac] >>>> -----------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1178. String iMsg = >>>> intres.getLocalizedMessage("protectedlog.error.canotworking", caId); >>>> [javac] >>>> ^-----------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1409. >>>> knownNodeGUIDs.add(newestProtectedLogEventIdentifier.getNodeGUID()); >>>> [javac] >>>> ^-----------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 1435. if ( >>>> !processedNodeGUIDs.contains(i.getEventIdentifier().getNodeGUID()) >>>> [javac] >>>> ^---------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "contains(int)" was found in type "java.util.ArrayList". >>>> Perhaps >>>> you wanted the overloaded version "boolean contains(java.lang.Object >>>> $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 1441. >>>> processedNodeGUIDs.add(nextProtectedLogEventRowNodeGUID); >>>> [javac] >>>> ^------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <------------------------------------------------------------- >>>> [javac] 1446. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.couldnotfetch", >>>> [javac] 1447. >>>> newestNodeProtectedLogEventIdentifier.getNodeGUID(), >>>> newestNodeProtectedLogEventIdentifier.getCounter())); >>>> [javac] >>>> -----------------------------------------------------------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] >>>> <------------------------------------------------------ >>>> [javac] 1453. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.frozen", >>>> [javac] 1454. >>>> newestNodeProtectedLogEventIdentifier.getNodeGUID())); >>>> [javac] >>>> -------------------------------------------------------------------------------------------> >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1588. >>>> knownNodeGUIDs.add(k.getNodeGUID()); >>>> [javac] >>>> ^---------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "add(int)" was found in type "java.util.ArrayList". Perhaps >>>> you >>>> wanted the overloaded version "boolean add(java.lang.Object $1);" >>>> instead? >>>> [javac] >>>> [javac] >>>> [javac] 1619. return new >>>> ProtectedLogEventIdentifier(everyExistingNodeGUID[i], 0); >>>> [javac] >>>> ^----------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload was found for a >>>> constructor with signature >>>> "ProtectedLogEventIdentifier(java.lang.Integer, >>>> int)" in type "org.ejbca.core.model.log.ProtectedLogEventIdentifier". >>>> Perhaps you wanted the overloaded version >>>> "ProtectedLogEventIdentifier(int >>>> nodeGUID, long counter);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1717. >>>> ProtectedLogEventRow >>>> protectedLogEventRow = >>>> getProtectedLogEventRow(findNewestLogEventRow(allNodeGUIDs[i])); >>>> [javac] >>>> ^------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "findNewestLogEventRow(java.lang.Integer)" was found in type >>>> "org.ejbca.core.ejb.log.ProtectedLogSessionBean". Perhaps you wanted >>>> the >>>> overloaded version >>>> "org.ejbca.core.model.log.ProtectedLogEventIdentifier >>>> findNewestLogEventRow(int nodeGUID);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1742. ProtectedLogEventIdentifier >>>> currentProtectedLogEventIdentifier = findNewestLogEventRow(nodeGUID); >>>> [javac] >>>> ^-----------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "findNewestLogEventRow(java.lang.Integer)" was found in type >>>> "org.ejbca.core.ejb.log.ProtectedLogSessionBean". Perhaps you wanted >>>> the >>>> overloaded version >>>> "org.ejbca.core.model.log.ProtectedLogEventIdentifier >>>> findNewestLogEventRow(int nodeGUID);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1766. >>>> log.info(intres.getLocalizedMessage("protectedlog.acceptedchain", >>>> currentProtectedLogEventIdentifier.getNodeGUID())); >>>> [javac] >>>> ^--------------------------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 1935. >>>> log.info(intres.getLocalizedMessage("protectedlog.waitingforservice", >>>> timeOut)); >>>> [javac] >>>> ^-------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 2001. >>>> log.info(intres.getLocalizedMessage("protectedlog.progress", >>>> protectedLogEventRows.length, rowCount)); >>>> [javac] >>>> ^-----------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 2011. >>>> log.error(intres.getLocalizedMessage("protectedlog.error.exportverify", >>>> plei.getNodeGUID(), plei.getCounter())); >>>> [javac] >>>> ^--------------------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int, long)" was found >>>> in >>>> type "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String >>>> $1, java.lang.Object $2, java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] Found 4 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/ra/raadmin/GlobalConfiguration.java": >>>> [javac] >>>> [javac] 388. return (ret == null ? >>>> AUTOENROLL_DEFAULT_ADPORT : ret); >>>> [javac] >>>> ^-----------------------------^ >>>> [javac] *** Semantic Error: In the conditional, the type of the >>>> true >>>> sub-expression, "int", is not compatible with the type of the false >>>> sub-expression, "java.lang.Integer". >>>> [javac] >>>> [javac] >>>> [javac] 398. return (ret == null ? >>>> AUTOENROLL_DEFAULT_CA : >>>> ret); >>>> [javac] >>>> ^-------------------------^ >>>> [javac] *** Semantic Error: In the conditional, the type of the >>>> true >>>> sub-expression, "int", is not compatible with the type of the false >>>> sub-expression, "java.lang.Integer". >>>> [javac] >>>> [javac] >>>> [javac] 413. return (ret == null ? >>>> AUTOENROLL_DEFAULT_SSLCONNECTION : ret); >>>> [javac] >>>> ^------------------------------------^ >>>> [javac] *** Semantic Error: In the conditional, the type of the >>>> true >>>> sub-expression, "boolean", is not compatible with the type of the false >>>> sub-expression, "java.lang.Boolean". >>>> [javac] >>>> [javac] >>>> [javac] 418. return (ret == null ? >>>> AUTOENROLL_DEFAULT_USE : ret); >>>> [javac] >>>> ^--------------------------^ >>>> [javac] *** Semantic Error: In the conditional, the type of the >>>> true >>>> sub-expression, "boolean", is not compatible with the type of the false >>>> sub-expression, "java.lang.Boolean". >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/ra/raadmin/EndEntityProfile.java": >>>> [javac] >>>> [javac] 578. ret = Integer.valueOf(str); >>>> [javac] ^------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Integer", is not assignable to the variable, of type "int". >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/ejb/ra/LocalUserAdminSessionBean.java": >>>> [javac] >>>> [javac] 841. counter = >>>> Integer.valueOf(counterstr); >>>> [javac] >>>> ^-----------------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Integer", is not assignable to the variable, of type "int". >>>> [javac] >>>> [javac] >>>> [javac] 849. String msg = >>>> intres.getLocalizedMessage("ra.decreasedentityrequestcounter", >>>> username, >>>> counter); >>>> [javac] >>>> ^-------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, java.lang.String, >>>> int)" >>>> was >>>> found in type "org.ejbca.core.model.InternalResources". Perhaps you >>>> wanted >>>> the overloaded version "java.lang.String >>>> getLocalizedMessage(java.lang.String $1, java.lang.Object $2, >>>> java.lang.Object $3);" instead? >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/ejb/services/ServiceTimerSessionBean.java": >>>> [javac] >>>> [javac] 215. run = >>>> checkAndUpdateServiceTimeout(worker.getNextInterval(), timerInfo, >>>> serviceData, serviceName); >>>> [javac] >>>> ^-----------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "checkAndUpdateServiceTimeout(long, java.lang.Integer, >>>> org.ejbca.core.model.services.ServiceConfiguration, java.lang.String)" >>>> was >>>> found in type "org.ejbca.core.ejb.services.ServiceTimerSessionBean". >>>> Perhaps >>>> you wanted the overloaded version "boolean >>>> checkAndUpdateServiceTimeout(long >>>> nextInterval, int timerInfo, >>>> org.ejbca.core.model.services.ServiceConfiguration serviceData, >>>> java.lang.String serviceName);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 250. >>>> getSessionContext().getTimerService().createTimer(nextInterval*1000, >>>> timerInfo); >>>> [javac] >>>> ^-----------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "createTimer(long, int)" was found in type >>>> "javax.ejb.TimerService". Perhaps you wanted the overloaded version >>>> "javax.ejb.Timer createTimer(long $1, java.io.Serializable $2) throws >>>> javax.ejb.EJBException, java.lang.IllegalStateException, >>>> java.lang.IllegalArgumentException;" instead? >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/ApplyBean.java": >>>> [javac] >>>> [javac] 228. int id = >>>> Integer.valueOf((String)i.next()); >>>> [javac] >>>> ^------------------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Integer", is not assignable to the variable, of type "int". >>>> [javac] >>>> [javac] Found 3 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/ca/catoken/BaseCAToken.java": >>>> [javac] >>>> [javac] 114. final Map<String, KeyPair> mTmp = new >>>> Hashtable<String, KeyPair>(); >>>> [javac] ^---------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Map", but no class file will be >>>> emitted.(not >>>> yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 114. final Map<String, KeyPair> mTmp = new >>>> Hashtable<String, KeyPair>(); >>>> [javac] >>>> ^---------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Hashtable", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 124. KeyPair pair = mTmp.get(keyAliases[i]); >>>> [javac] ^----------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Object", is not assignable to the variable, of type >>>> "java.security.KeyPair". >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/ca/catoken/PKCS11CAToken.java": >>>> [javac] >>>> [javac] 52. @Override >>>> [javac] ^-------^ >>>> [javac] *** Semantic Error: Annotation modifiers are only supported >>>> for >>>> `-source 1.5' or greater.(not yet implemented) >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/model/services/workers/UserPasswordExpireWorker.java": >>>> [javac] >>>> [javac] 81. ps.setInt(i++, >>>> Integer.valueOf((String)iter.next())); >>>> [javac] >>>> ^--------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "setInt(int, java.lang.Integer)" was found in type >>>> "java.sql.PreparedStatement". Perhaps you wanted the overloaded version >>>> "void setInt(int $1, int $2) throws java.sql.SQLException;" instead? >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/core/protocol/ocsp/OCSPUnidClient.java": >>>> [javac] >>>> [javac] >>>> <---------------------------------------------------------------------------------------------------------------------------------------------------------------- >>>> [javac] 95. private OCSPUnidClient(KeyStore keystore, >>>> String >>>> pwd, String ocspurl, Certificate[] certs, PrivateKey _signKey, boolean >>>> getfnr) throws NoSuchAlgorithmException { >>>> [javac] . . . >>>> [javac] 116. } >>>> [javac] --------> >>>> [javac] *** Semantic Error: The blank final field "certChain" must >>>> be >>>> initialized in this and every constructor which does not call a form of >>>> this(); or else once in an instance initializer block or instance field >>>> initializer. >>>> [javac] >>>> [javac] >>>> [javac] 100. this.certChain = certs!=null ? >>>> Arrays.asList(certs).toArray(new X509Certificate[0]) : null; >>>> [javac] >>>> ^----------------------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Object[]", is not assignable to the variable, of type >>>> "java.security.cert.X509Certificate[]". >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/cli/KeyStoreContainer.java": >>>> [javac] >>>> [javac] 280. final Enumeration<String> eAlias = >>>> keyStore.aliases(); >>>> [javac] ^------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Enumeration", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 283. alias = eAlias.nextElement(); >>>> [javac] ^--------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Object", is not assignable to the variable, of type >>>> "java.lang.String". >>>> [javac] >>>> [javac] Found 14 semantic errors and issued 1 warning compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/util/PerformanceTest.java": >>>> [javac] >>>> [javac] 37. private final int >>>> STATISTIC_UPDATE_PERIOD_IN_SECONDS >>>> = 10; >>>> [javac] >>>> ^-------------------------------------^ >>>> [javac] *** Semantic Warning: Final field >>>> "STATISTIC_UPDATE_PERIOD_IN_SECONDS" is initialized with a constant >>>> expression and could be made static to save space. >>>> [javac] >>>> [javac] >>>> [javac] 166. private final Map<String, Long> mTimes; >>>> [javac] ^------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Map", but no class file will be >>>> emitted.(not >>>> yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 172. mTimes = new HashMap<String, Long>(); >>>> [javac] ^------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.HashMap", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 184. lastTime = mTimes.get(timeName); >>>> [javac] ^-----------------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Object", is not assignable to the variable, of type "long". >>>> [javac] >>>> [javac] >>>> [javac] 201. Iterator<Long> >>>> i=mTimes.values().iterator(); >>>> [javac] ^----^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Iterator", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 203. tmp += i.next().longValue(); >>>> [javac] ^------------------^ >>>> [javac] *** Semantic Error: No accessible method with signature >>>> "longValue()" was found in type "java.lang.Object". >>>> [javac] >>>> [javac] >>>> [javac] 209. printLine("Total # of successfully >>>> performed >>>> tests", nrOfTests); >>>> [javac] >>>> ^-------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "printLine(java.lang.String, int)" was found in type >>>> "org.ejbca.util.PerformanceTest$Statistic". Perhaps you wanted the >>>> overloaded version "void printLine(java.lang.String description, >>>> java.lang.Object value);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 210. printLine("# of tests completed each >>>> second", signingsPerSecond); >>>> [javac] >>>> ^--------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "printLine(java.lang.String, float)" was found in type >>>> "org.ejbca.util.PerformanceTest$Statistic". Perhaps you wanted the >>>> overloaded version "void printLine(java.lang.String description, >>>> java.lang.Object value);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 211. final Iterator<Entry<String, Long>> i = >>>> mTimes.entrySet().iterator(); >>>> [javac] ^-------------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Iterator", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 213. final Entry<String, Long> entry = >>>> i.next(); >>>> [javac] ^------------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.Map$Entry", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 213. final Entry<String, Long> entry = >>>> i.next(); >>>> [javac] >>>> ^--------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Object", is not assignable to the variable, of type >>>> "java.util.Map$Entry". >>>> [javac] >>>> [javac] >>>> [javac] 214. printLine(entry.getKey(), >>>> (float)entry.getValue().longValue() / allThreadsTime); >>>> [javac] >>>> ^-----------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "printLine(java.lang.Object, float)" was found in type >>>> "org.ejbca.util.PerformanceTest$Statistic". Perhaps you wanted the >>>> overloaded version "void printLine(java.lang.String description, >>>> java.lang.Object value);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 214. printLine(entry.getKey(), >>>> (float)entry.getValue().longValue() / allThreadsTime); >>>> [javac] >>>> ^--------------------------^ >>>> [javac] *** Semantic Error: No accessible method with signature >>>> "longValue()" was found in type "java.lang.Object". >>>> [javac] >>>> [javac] >>>> [javac] 216. printLine("Relative time spent with >>>> test >>>> client work", relativeWork); >>>> [javac] >>>> ^------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "printLine(java.lang.String, float)" was found in type >>>> "org.ejbca.util.PerformanceTest$Statistic". Perhaps you wanted the >>>> overloaded version "void printLine(java.lang.String description, >>>> java.lang.Object value);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 277. @SuppressWarnings("synthetic-access") >>>> [javac] ^-----------------------------------^ >>>> [javac] *** Semantic Error: Annotation modifiers are only supported >>>> for >>>> `-source 1.5' or greater.(not yet implemented) >>>> [javac] >>>> [javac] Found 3 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/cli/Ocsp.java": >>>> [javac] >>>> [javac] 57. final private List<BigInteger> vSerialNrs; >>>> [javac] ^----------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.List", but no class file will be >>>> emitted.(not >>>> yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 60. this.vSerialNrs = new >>>> ArrayList<BigInteger>(); >>>> [javac] >>>> ^----------^ >>>> [javac] *** Semantic Error: Using type arguments to access generic >>>> types >>>> requires the use of "-source 1.5" or greater. Compilation will continue >>>> using the raw type "java.util.ArrayList", but no class file will be >>>> emitted.(not yet implemented) >>>> [javac] >>>> [javac] >>>> [javac] 67. return >>>> vSerialNrs.get(performanceTest.getRandom().nextInt(vSerialNrs.size())); >>>> [javac] >>>> ^--------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "java.lang.Object", does not match the return type of the method, >>>> "java.math.BigInteger". >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/web/admin/configuration/StartServicesServlet.java": >>>> [javac] >>>> [javac] 112. >>>> log.info(intres.getLocalizedMessage("startservice.waitservicever", >>>> MAX_SERVICE_WAIT)); >>>> [javac] >>>> ^-------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] >>>> [javac] 125. >>>> log.info(intres.getLocalizedMessage("startservice.waitserviceexp", >>>> MAX_SERVICE_WAIT)); >>>> [javac] >>>> ^-------------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] Found 4 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/web/admin/reports/ReportsDataSource.java": >>>> [javac] >>>> [javac] 201. return false; >>>> [javac] ^---^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "boolean", does not match the return type of the method, >>>> "java.lang.Object". >>>> [javac] >>>> [javac] >>>> [javac] 205. return 0l; >>>> [javac] ^^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "long", >>>> does not match the return type of the method, "java.lang.Object". >>>> [javac] >>>> [javac] >>>> [javac] 249. return isRevoked; >>>> [javac] ^-------^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "boolean", does not match the return type of the method, >>>> "java.lang.Object". >>>> [javac] >>>> [javac] >>>> [javac] 253. return ((revocationDate == >>>> null) >>>> ? 0L : revocationDate.getTime()); >>>> [javac] >>>> ^--------------------------------------------------------^ >>>> [javac] *** Semantic Error: The type of this return expression, >>>> "long", >>>> does not match the return type of the method, "java.lang.Object". >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/web/protocol/OCSPServletBase.java": >>>> [javac] >>>> [javac] 475. String errMsg = >>>> intres.getLocalizedMessage("ocsp.errortoomanyreqentities", >>>> maxRequests); >>>> [javac] >>>> ^---------------------------------------------------------------------^ >>>> [javac] *** Semantic Error: No applicable overload for a method >>>> with >>>> signature "getLocalizedMessage(java.lang.String, int)" was found in >>>> type >>>> "org.ejbca.core.model.InternalResources". Perhaps you wanted the >>>> overloaded >>>> version "java.lang.String getLocalizedMessage(java.lang.String $1, >>>> java.lang.Object $2);" instead? >>>> [javac] >>>> [javac] Found 2 semantic errors compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/ui/web/pub/retrieve/CertificateFinderBean.java": >>>> [javac] >>>> [javac] 112. mCurrentCA = currentCA; >>>> [javac] ^--------------------^ >>>> [javac] *** Semantic Error: The type of the right sub-expression, >>>> "java.lang.Integer", is not assignable to the variable, of type "int". >>>> [javac] >>>> [javac] >>>> [javac] 174. @SuppressWarnings("unchecked") >>>> [javac] ^----------------------------^ >>>> [javac] *** Semantic Error: Annotation modifiers are only supported >>>> for >>>> `-source 1.5' or greater.(not yet implemented) >>>> [javac] >>>> [javac] Found 1 semantic error compiling >>>> "/home/zx630087/ejbca_3_6_b1/tmp/preprocessed/java/org/ejbca/util/MSCertTools.java": >>>> [javac] >>>> [javac] 235. >>>> for (int k = 0; k<fieldsOfType; k++) { >>>> [javac] >>>> ^----------^ >>>> [javac] *** Semantic Error: The type of this expression, >>>> "java.lang.Integer", is not numeric. >>>> >>>> Best Regards, >>>> >>>> Zhiqian >>>> >>>> >>>> Ejbca support wrote: >>>>> What is your environment and your java version etc? >>>>> >>>>> This error has never been seen before. Do you have some other versions >>>>> of BC jars installed somewhere? >>>>> >>>>> Reg... [truncated message content] |