Ant deploy fails - class for javax.elexception not found

Carter
2014-04-11
2014-04-14
  • Carter

    Carter - 2014-04-11

    compile:
    [javac] Compiling 100 source files to /usr/src/ejbca_ce_6_0_3/modules/admin-gui/build/WEB-INF/classes
    [javac] /usr/src/ejbca_ce_6_0_3/modules/admin-gui/src/org/ejbca/ui/web/admin/approval/ApprovalDataVOView.java:168: error: cannot access ELException
    [javac] ApproveActionSessionBean value = (ApproveActionSessionBean) app.evaluateExpressionGet(context, "#{approvalActionSession}",
    [javac] ^
    [javac] class file for javax.el.ELException not found
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

    BUILD FAILED
    /usr/src/ejbca_ce_6_0_3/build.xml:852: The following error occurred while executing this line:
    /usr/src/ejbca_ce_6_0_3/modules/build.xml:331: The following error occurred while executing this line:
    /usr/src/ejbca_ce_6_0_3/modules/admin-gui/build.xml:62: Compile failed; see the compiler error output for details.

    I don't even know where to begin. I've spent a month thinking about this...

     
  • Tomas Gustavsson

    To start with you should mention what environment (java, application server, os, etc) you are trying to use?

    In general, the best place to begin is to follow the "quick start guide" in the installation instructions at EJBCA.org.
    Or, download and try the Virtual Machine.

    Cheers,
    Tomas


    PrimeKey Solutions offers commercial EJBCA and SignServer support subscriptions and training courses. Please see www.primekey.se or contact info@primekey.se for more information.
    http://www.primekey.se/Services/Support/
    http://www.primekey.se/Services/Training/

     
  • Carter

    Carter - 2014-04-14

    Server runs Gentoo Linux, Oracle JDK 7u51, WildFly app server. When following the installation guide at ejbca.org, I get different errors like "ejbca_ce_6_1_1/docs.xmli:121: Could not create type anakia due to java.lang.NoSuchMethodError: org.jdom.input.SAXBuilder.setFactory(Lorg/jdom/input/JDOMFactory;)V".

    I was using the guide at https://jira.primekey.se/secure/attachment/12346/EJBCA_Installation.pdf and following it verbatim, except that as a systemd user I've been starting WildFly manually until I get this up and running and write a unit file.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks