According to the compilation error, the latex is not able to understand the \url macro. It seems that you have not included the url package.
Add the following to your latex document to include the url package. It should fix the error.
\usepackage{url}