OpenConext-Attic / OpenConext-api

:warning: Obsolete respository, archive only :zzz:
Apache License 2.0
5 stars 4 forks source link

mvn clean install does not include xml-apis-*.jar in jar file #12

Open remold opened 10 years ago

remold commented 10 years ago

After a 'git clone' and 'mvn clean install' the created war file does not include a xml-apis-*.jar file.

This results in error: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [coin-api-properties-context.xml]; nested exception is java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal

surfnet-niels commented 10 years ago

After fixing this, please also update the OpenConext VM as this currently has a workaround to fix for this issue. See https://github.com/OpenConext/OpenConext-vm/blob/master/scripts/dependencies/tomcat_install.sh#L21