Cannot compile OpenEMM; Spring framework is missing?
Posted: Thu Oct 27, 2011 1:07 pm
I would like to run OpenEMM on 64-bit Gentoo. Following the install instructions, I downloaded the source package and tried to compile it. The compilation ran into many errors, starting like this:
Please advise.
Code: Select all
[mkdir] Created dir: /home/pmw/openemm/build/OpenEMM-2011-bin/webapps/openemm/WEB-INF/classes
[javac] /home/pmw/openemm/OpenEMM-2011-src/openemm_build.xml:55: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds
[javac] Compiling 575 source files to /home/pmw/openemm/build/OpenEMM-2011-bin/webapps/openemm/WEB-INF/classes
[javac] /home/pmw/openemm/src/OpenEMM-2011-src/src/java/org/agnitas/actions/ActionOperation.java:26: package org.springframework.context does not
exist
[javac] import org.springframework.context.ApplicationContext;
[javac] ^
[javac] /home/pmw/openemm/src/OpenEMM-2011-src/src/java/org/agnitas/actions/ActionOperation.java:34: cannot find symbol
[javac] symbol : class ApplicationContext
[javac] location: class org.agnitas.actions.ActionOperation
[javac] public abstract boolean executeOperation(ApplicationContext con, int companyID, HashMap params);
[javac] ^
[javac] /home/pmw/openemm/src/OpenEMM-2011-src/src/java/org/agnitas/actions/EmmAction.java:29: package org.springframework.context does not exist
[javac] import org.springframework.context.ApplicationContext;
[javac] ^
[javac] /home/pmw/openemm/src/OpenEMM-2011-src/src/java/org/agnitas/actions/EmmAction.java:52: cannot find symbol
[javac] symbol : class ApplicationContext
[javac] location: interface org.agnitas.actions.EmmAction
[javac] boolean executeActions(ApplicationContext con, HashMap params);
[javac] ^
[javac] /home/pmw/openemm/src/OpenEMM-2011-src/src/java/org/agnitas/actions/impl/EmmActionImpl.java:31: package org.springframework.context does not exist
[javac] import org.springframework.context.ApplicationContext;
[javac] ^