Building idp.war fails on version 3.4.0

Rod Widdowson rdw at steadingsoftware.com
Wed Oct 17 04:30:17 EDT 2018


> BUILD FAILED
> /opt/shibboleth-idp/bin/build.xml:6: The following error occurred while executing this line:
> jar:file:/opt/shibboleth-identity-provider-3.4.0/bin/lib/idp-installer-3.4.0.jar!/net/shibboleth/idp/installer/ant.xml:7: taskdef
A class needed
> by class net.shibboleth.idp.installer.ant.impl.MetadataGeneratorTask cannot be found:
> org/springframework/context/ApplicationContextInitializer
>  using the classloader AntClassLoader[]

Reading that gave me a nasty turn but I couldn't reproduce it on windows and Nate cannot on Linux (thanks Nate).

This looks like a failed install and a missing file, but if the IdP was running then that's weird.

Can you check

- That there is no directory called /opt/shibboleth-identity-provider-3.4.0/webapp
- That inside the directory /opt/shibboleth-identity-provider-3.4.0/dist/webapp/WEB-INF/lib/ there are files called 

	spring-context-4.3.19.RELEASE.jar  and
	spring-context-support-4.3.19.RELEASE.jar

If the both are true you probably need to check that /opt/shibboleth-identity-provider-3.4.0/bin/ant.sh matches the one on the
distribution.

Was the IdP Installed or updated (and if so, what from?)

Rod





More information about the users mailing list