ShermanMarshall commented on a change in pull request #448: Tomee 2482 synchronize examples URL: https://github.com/apache/tomee/pull/448#discussion_r268409380
########## File path: examples/bval-evaluation-redeployment/WebApp2/src/main/java/org/superbiz/webapp2/service/WebApp2Service.java ########## @@ -32,7 +31,7 @@ public class WebApp2Service { @POST - public Response getInfo(@Pattern(regexp = "valid") final String input) { Review comment: I'm not sure. I just didn't understand it at first. Speculation probably doesn't help, but I think invalid entities cause 406 errors. That is probably because of parsing the JSON, and this is just a String. I think I have fixed this particular example. Setting the pom.xml build/finalName means the version number won't be relevant in the path. That solves potential future problems too! I hope that is acceptable. If you have further comments, I would be happy to hear them. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services