Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Failed : HTTP error code : 500 : Error Interno del Servidor

Hi.
I am compiling a example from GitHub. rest-API-example
I am using BonitaBPMCommunity-6.4.0-Tomcat-7.0.55, Java 7.
I’ve updated the bonita’s dependences of the pom.xml to 6.4.0
Any idea of the error ?
$java -jar rest-api-example-1.0.0-SNAPSHOT.jar
Deploying organization …
Exception in thread “main” java.lang.RuntimeException: java.lang.RuntimeException: Failed : HTTP error code : 500 : Error Interno del Servidor
at org.bonitasoft.example.App.importOrganizationFromFile(App.java:269)
at org.bonitasoft.example.App.importOrganization(App.java:245)
at org.bonitasoft.example.App.start(App.java:128)
at org.bonitasoft.example.App.main(App.java:105)
Caused by: java.lang.RuntimeException: Failed : HTTP error code : 500 : Error Interno del Servidor
at org.bonitasoft.example.App.ensureStatusOk(App.java:238)
at org.bonitasoft.example.App.consumeResponse(App.java:209)
at org.bonitasoft.example.App.importOrganizationFromFile(App.java:263)
… 3 more

The problem is in the file ACME.XML.

I recommend you to generate a new file ACME.xml in the Bonita Portal.

Using a administrator user, go to menu Organization and Export the installed organization.

Rename the file generated to ACME.xml and replace this file in the java project.