Zm SSO is the Zimbra Collaboration Open Source Edition extension for single sign-on authentication to the Zimbra Web Client.
GNU Affero General Public License v3.0
14
stars
20
forks
source link
Error running "ant jar" #4
Closed
Yugnk closed 2 years ago
I ran the command "ant jar", but it presented several errors.
Error message:
compile: [javac] Compiling 23 source files to /root/projects/zimbra/zm-sso/build [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/saml/SamlSloHandler.java:26: error: package org.opensaml.saml.common.xml does not exist [javac] import org.opensaml.saml.common.xml.SAMLConstants; [javac] ^ [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:31: error: package org.dom4j does not exist [javac] import org.dom4j.QName; [javac] ^ [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:40: error: cannot find symbol [javac] public static QName GET_ALL_SSO_SESSIONS_REQUEST = QName.get(ZmSsoExtension.E_GET_ALL_SSO_SESSIONS_REQUEST, AdminConstants.NAMESPACE); [javac] ^ [javac] symbol: class QName [javac] location: class GetAllSsoSessions [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:41: error: cannot find symbol [javac] public static QName GET_ALL_SSO_SESSIONS_RESPONSE = QName.get(ZmSsoExtension.E_GET_ALL_SSO_SESSIONS_RESPONSE, AdminConstants.NAMESPACE); [javac] ^ [javac] symbol: class QName [javac] location: class GetAllSsoSessions [javac] warning: unknown enum constant ThreadingBehavior.SAFE [javac] reason: class file for org.apache.http.annotation.ThreadingBehavior not found [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/saml/SamlSloHandler.java:58: error: cannot access LogoutRequest [javac] final var logoutProfileHandler = client.getLogoutProfileHandler(); [javac] ^ [javac] class file for org.opensaml.saml.saml2.core.LogoutRequest not found [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/saml/SamlSloHandler.java:66: error: cannot access LogoutResponse [javac] final var logoutResponse = saml2LogoutResponseBuilder.build(samlContext); [javac] ^ [javac] class file for org.opensaml.saml.saml2.core.LogoutResponse not found [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/saml/SamlSloHandler.java:67: error: cannot access MessageContext [javac] saml2LogoutResponseMessageSender.sendMessage(samlContext, logoutResponse, samlContext.getSAMLBindingContext().getRelayState()); [javac] ^ [javac] class file for org.opensaml.messaging.context.MessageContext not found [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/saml/SamlSloHandler.java:70: error: cannot find symbol [javac] if (spLogoutResponseBindingType.equalsIgnoreCase(SAMLConstants.SAML2_POST_BINDING_URI)) { [javac] ^ [javac] symbol: variable SAMLConstants [javac] location: class SamlSloHandler [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:40: error: cannot access Namespace [javac] public static QName GET_ALL_SSO_SESSIONS_REQUEST = QName.get(ZmSsoExtension.E_GET_ALL_SSO_SESSIONS_REQUEST, AdminConstants.NAMESPACE); [javac] ^ [javac] class file for org.dom4j.Namespace not found [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:40: error: cannot find symbol [javac] public static QName GET_ALL_SSO_SESSIONS_REQUEST = QName.get(ZmSsoExtension.E_GET_ALL_SSO_SESSIONS_REQUEST, AdminConstants.NAMESPACE); [javac] ^ [javac] symbol: variable QName [javac] location: class GetAllSsoSessions [javac] /root/projects/zimbra/zm-sso/src/main/java/com/iwayvietnam/zmsso/service/GetAllSsoSessions.java:41: error: cannot find symbol [javac] public static QName GET_ALL_SSO_SESSIONS_RESPONSE = QName.get(ZmSsoExtension.E_GET_ALL_SSO_SESSIONS_RESPONSE, AdminConstants.NAMESPACE); [javac] ^ [javac] symbol: variable QName [javac] location: class GetAllSsoSessions [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 11 errors [javac] 1 warning
BUILD FAILED /root/projects/zimbra/zm-sso/build.xml:212: Compile failed; see the compiler error output for details.