coutume / zbanque-webservices Goto Github PK
View Code? Open in Web Editor NEWGestion de banque communautaire Minecraft
Gestion de banque communautaire Minecraft
Par exemple :
{"iron_ore": 1, "iron_ingot":1, "iron_block": 9}
Permet de grouper des éléments d'un même type ensemble et d'avoir des stocks exprimés globalement, pour mieux estimer leur étendu.
Côté web-service, ça s'exprimerait sous la forme d'un point d'entrée
POST /item_groups
qui prendrait des données de ce genre :
[
{
"group_name": "Fer",
"group_items": [
{"id": 15, "data": 0, "weight": 1},
{"id": 265, "data": 0, "weight": 1},
{"id": 42, "data": 0, "weight": 9}
]
}
]
Tout est dans le titre.
J'ai une erreur 500 sur /silos avec ce contenu envoyé en POST.
[15:14:16 ERROR]: [zBanque] Error while sending a PacketPlayOutSilos packet
[15:14:16 ERROR]: [zBanque] Exception :
java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:8088/silos
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_72]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_72]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_72]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1890) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1885) ~[?:1.8.0_72]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1884) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1457) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) ~[?:1.8.0_72]
at fr.zcraft.zbanque.network.PacketSender.makeRequest(PacketSender.java:183) ~[?:?]
at fr.zcraft.zbanque.network.PacketSender.access$000(PacketSender.java:56) ~[?:?]
at fr.zcraft.zbanque.network.PacketSender$2.run(PacketSender.java:133) ~[?:?]
at fr.zcraft.zbanque.network.PacketSender$2.run(PacketSender.java:123) ~[?:?]
at fr.zcraft.zbanque.libs.fr.zcraft.zlib.components.worker.Worker.run(Worker.java:176) ~[?:?]
at fr.zcraft.zbanque.libs.fr.zcraft.zlib.components.worker.Worker.access$000(Worker.java:47) ~[?:?]
at fr.zcraft.zbanque.libs.fr.zcraft.zlib.components.worker.Worker$1.run(Worker.java:215) ~[?:?]
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:8088/silos
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) ~[?:1.8.0_72]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) ~[?:1.8.0_72]
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:1.8.0_72]
at fr.zcraft.zbanque.network.PacketSender.makeRequest(PacketSender.java:177) ~[?:?]
... 6 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.