url: /
---
-{{< marginalcontent >}}
+{{< marginalcontent-md >}}
## Funded by the Europian Union
As partner of the company
[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
that is funded by the European Union and the federal state Northrhine-Westphalia.
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
+[<img alt="Europäische Union: Investitionen in unsere Zukunft - Europäischer Fonds für regionale Entwicklung" src="/img/EFRE_Foerderhinweis_deutsch_farbig.svg" width="100%"><img alt="EFRE.NRW 2014-2020: Invesitionen in Wachstum und Beschäftigung" src="/img/Ziel2NRW_4c_1809_eps.svg" width="100%">](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
## About juplo
- [Blog](/blog/ "(Hopefully) helpful stuff")
- [Projects](/projects/ "All current projects")
- [Contact](/contact.html "All contact-information on a glance")
-{{< /marginalcontent >}}
+{{< /marginalcontent-md >}}
## Work In Progress...
I will guide you through the process in the upcoming parts of this series.
In [the next part](develop-a-facebook-app-with-spring-social-part-01-behind-the-scenes "Jump to the next part of this series and read on...") of this series I will explain, why this example from the "Getting Started"-guide would not work as a real application and what has to be done, to fix that.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
In [the next part](develop-a-facebook-app-with-spring-social-part-02-how-spring-social-works "Jump to the third part of this series and read on...") of this series, I will show you, why this is necessary.
But, first, we have to take a short look into Spring Social.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
## Coming next...
In [the next part](develop-a-facebook-app-with-spring-social-part-03-implementing-a-user-id-source "Jump to the next part of this series and read on...") of this series, we will try to teach Spring Social to distinguish between several users.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
## Coming next...
In [the next part](/develop-a-facebook-app-with-spring-social-part-04-signing-in-users "Jump to the next part of this series and read on...") of this series, I will show you, how to change the configuration, so that the `ProviderSignInController` is used to sign in (and automatically sign up) users, that were authenticated through the Graph-API from Facebook.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
That will ease the migration to that solution in a later step.
Perhaps you want to skip that, rather short and boring step and jump to the part after the next, that explains, how to sign in users by the `signed_request`, that Facebook sends, if you integrate your app as a canvas-page.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
In the next part of this series, we will enable users to sign in through the canvas-page of our app.
The canvas-page is the page that Facebook embeds into its webpage, if we render our app inside of Facebook.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
## Coming Next...
In [the next part](/develop-a-facebook-app-with-spring-social-part-07-what-is-going-on-on-the-wire/ "Jump to the next part of this series and learn how to turn on debugging for the HTTP-communication between your app and the Graph-API") of this series, I will show you, how you can debug the calls, that Spring Social makes to the Graph-API, by turning on the debugging of the classes, that process the HTTP-requests and -responses, that your app is making.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
```
The second switch is necessary, because I defined the default-level `ERROR` for that logger in our `src/main/application.properties`, to enable the short-cut for logging only the headers.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
Of course, you also have to move your Thymeaf-Templates from `src/main/resources/templates/` to `src/main/webapp/thymeleaf/`.
In my opinion, the templates belong there anyway, in order to have them accessible as normal static HTML(5)-files.
If they are locked away in the classpath you cannot access them, which foils the approach of Thymeleaf, that you can view your templates in a browser as thy are.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
Added new configuration sources in documentation about precedence
```
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
```java
mapper.disable(DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIME_ZONE);
```
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
Here is the quick and easy fix for it:
**Fix the ordering of the dependencies in your pom.xml.**
The dependency for JMockit has to come first!
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
Auch noch:
https://en.wikibooks.org/wiki/Java\_Persistence/Identity\_and\_Sequencing#Strange\_behavior.2C\_unique\_constraint\_violation.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
And because of that, my `WebApplicationInitializer`
After installing Java 8 from [debian-backports](http://backports.debian.org/Instructions/ "Learn more on debian-backports") on my production system, like described in this [nice debian-upgrade note](https://github.com/OpenTreeOfLife/germinator/wiki/Debian-upgrade-notes:-jessie-and-openjdk-8 "Read, how to install Java 8 from debian-backports"), the `WebApplicationInitializer` of my App was found and everything worked like a charme, again.
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
</plugin>
```
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
did not work for me.
If anyone could point out, how to do that in a comment to this post, I would be realy grateful!
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")
In fact, some XSLT-parsers do provide such an argument.
The only other solution, I can think of, is, to write another XSLT-script to remove all the whitespaces between tags to circumvent this at the first glance unexpected behaviour of `deep-equal()`
-
-## Funded by the Europian Union
-
-This article was published in the course of a
-[resarch-project](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project"),
-that is funded by the European Union and the federal state Northrhine-Wetphalia.
-
-[](http://yourshouter.com/projekte/crowdgest%C3%BCtzte-veranstaltungs-suchmaschine.html "Show details about the funded resarch-project")