The NullPointerException occurs when trying to initialize SortedResourcesFactoryBean for ResourceDatabasePopulator which is created with the embedded-database tag. I would double check that acl-schema.sql is available on the classpath.
PS: In the future please post configuration and stacktraces to the forums using the code tags rather than using pastebin. This is preferred so that when others try to search the forums for answers it is more easily found.
I believe the nullpointer was a missing maven dependency. I managed to get past it anyway.
However, right now I receive a runtime Exception for my @PreAuthorize annotation
"An Authentication object was not found in the SecurityContext"
I think this exception is normal, however - I also believe it should turn into an access denied as soon as I configure anonymous authorization. I think I did this, but the exception is not going away.
I attached my full project, to make it easier to look at my code/configuration.
Any ideas?
Kind regards,
Maarten
edit: I just wanted to point out that STS is complaining about deprecated warnings on my <http> namespace configuration.