Geoserver on Tomcat - FAIL - The application to the context / geoserver path could not be started. [WEB-INF] is not valid

I'm running tomcat 8-RC10 and (attempting) geoserver 2.4.3 deployed from .war. Geoserver won't start with the above error, and the catalina.out (which is so long and detailed as to be almost useless) seems to have trouble at the point:

ERROR [context.ContextLoader] - context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geoServerLoader' defined in URL [jar:file:/home/XXX/tomcat/webapps/geoserver/WEB-INF/lib/main-2.2.4.jar!/applicationContext.xml]: Cannot resolve reference to bean 'resourceLoader' while setting constructor argument;

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceLoader' defined in URL [jar:file:/home/XXX/tomcat/webapps/geoserver/WEB-INF/lib/main-2.2.4.jar!/applicationContext.xml]: initialization of bean failed;

nested exception is java.lang.IllegalArgumentException: The resource path [WEB-INF] is not valid.

Appreciate any suggestions, I'm quite clearly in over my head here.


One of your beans references a bean named 'resourceloader' but there is no bean with that name in your application context as indicated by the message:

cannot resolve reference to bean 'resourceloader