Use the 2.4 geonode-geoserver-ext jar.