Menu

Build Failed

Help
2019-11-19
2019-11-19
  • Luiz Henrique FIrmino de Jesus

    Hello,

    I've encoutered this error during EJBCA deploy.

    jar:
    [mkdir] Created dir:
    /usr/local/ejbca_ce_6_15_2_1/modules/cesecore-common/build/classes
    [javac] Compiling 362 source files to
    /usr/local/ejbca_ce_6_15_2_1/modules/cesecore-common/build/classes
    [javac]
    /usr/local/ejbca_ce_6_15_2_1/modules/cesecore-common/src/org/cesecore/certificates/ca/internal/SernoGeneratorRandom.java:122:
    error: cannot find symbol
    [javac] random = SecureRandom.getInstanceStrong();
    [javac] ^
    [javac] symbol: method getInstanceStrong()
    [javac] location: class SecureRandom
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note:
    /usr/local/ejbca_ce_6_15_2_1/modules/cesecore-common/src/org/cesecore/config/ConfigurationHolder.java
    uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

    BUILD FAILED
    /usr/local/ejbca_ce_6_15_2_1/build.xml:1323: The following error occurred
    while executing this line:
    /usr/local/ejbca_ce_6_15_2_1/modules/build.xml:278: The following error
    occurred while executing this line:
    /usr/local/ejbca_ce_6_15_2_1/modules/cesecore-common/build.xml:55: Compile
    failed; see the compiler error output for details.

    If anyone has any ideas about this error please help.

     
  • Tomas Gustavsson

    You seem to be using JDK 7. JDK 8 is the minimum required.

     

Log in to post a comment.

MongoDB Logo MongoDB