Why my page which uses Bootstrap is not showing up?

I have a index jsp page that uses Bootstrap template. It works for another jsp - it shows up in the browser. However, using the same template minus some stuff, it gives me some errors - according to Chrome and it doesn’t display at the browser at all.

The 2 errors are :

  1. Uncaught SyntaxError: Unexpected token <

And that line appeared to be which I found no wrong as it is closing the . So why the error?

  1. Uncaught Error: Bootstrap’s JavaScript requires jQuery
    at bootstrap.min.js:6

Hope someone can tell me what am I missing out. Thanks.

  1. You probably have a typo somewhere, missing a bracket or something.

  2. Looks like you need to download jquery for your bootstrap javascript file to work.

Go head and post your code.