Skip to content

Instantly share code, notes, and snippets.

@guilhermesilveira
Created August 23, 2014 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermesilveira/fc80fa7e226056e4419d to your computer and use it in GitHub Desktop.
Save guilhermesilveira/fc80fa7e226056e4419d to your computer and use it in GitHub Desktop.
wget http://dl.bintray.com/caelum/VRaptor4/vraptor-blank-project--4.1.0-RC2.zip
unzip vraptor-blank-project--4.1.0-RC2.zip
cd vraptor-blank-project
mvn tomcat:run
Tomcat 6 escolhido:
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
curl -v http://localhost:8080
* Adding handle: conn: 0x7fdef4003000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fdef4003000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 400 Bad Request
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Transfer-Encoding: chunked
< Date: Sat, 23 Aug 2014 00:37:42 GMT
< Connection: close
curl -v http://localhost:8080/vraptor-blank-project/
* Adding handle: conn: 0x7fac8a803000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fac8a803000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> GET /vraptor-blank-project/ HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 404 Not Found
* Server Apache-Coyote/1.1 is not blacklisted
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1021
< Date: Sat, 23 Aug 2014 00:37:58 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment