This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

OK, so no matter what I tried, I couldn't get the @Configuration for Spring Social to work with the already xml files I had for other configuration (Don't ask, but Spring Data Neo4j forced me to have it in xml because of cross-stores). So I decided to change tactics and go straight xml instead for configuring Spring Social.

But I don't get far, right now I get

Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'social:jdbc-connection-repository'.

The IDE seemed to know about the tag as it added the social namespace automatically, and I can CTRL click on it and get to the xsd.

But I get that error when I run it through the IDE through Tomcat 7.

Here is now my xml config. All the other xml configs I posted for other parts are all still identical, except I removed the component-scan that picked up the @Configuration class, and I also commented those annotations from the @Configuration class just in case.