Sinatra doesn’t know this ditty.

Try this:
get '/tag/java' do
  "Hello World"
end