Author: SJ

Dropwizard 0.8 and Jetty fail return 404 on resources 0

Dropwizard 0.8 and Jetty fail return 404 on resources

Simple hello world dropwizard application throws the error below- HTTP ERROR 404 Problem accessing /hello-world. Reason: Not Found While app logs says – return 200 for that request. Reason: If you look closely in...

Java – How to Convert character array to a String 0

Java – How to Convert character array to a String

Many a times you need to convert the character array into a String, its quite simple to do. char[] x = {‘s’,’u’,’m’,’i’,’t’}; Method 1. String a = new String(x); Method 2. String b =...