Solucionado (ver solução)
Solucionado
(ver solução)
43
respostas

Dúvida no Ex. 1 da Aula 3 - Preenchendo e testando formulários

Bom dia amigos!

Por favor, poderiam me ajudar a solucionar um problema: Instalei a ANT, fiz download do leilao, mas quando tendo entrar na url não consigo: http://localhost:8080/

Desdejá agradeço, Elton

43 respostas

Esse é o erro:

Erro no processamento de XML: estado não esperado do processador Posição: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/aboutNetError.xhtml Número da linha 396, coluna 54:

&netTimeout.longDesc;

^

Oi Elton,

O que aparece no console, quando vc roda o Ant?

Bom dia Mauricio,

c:\ant\bin>ant jetty.run Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_66\lib\tools.jar Buildfile: c:\ant\bin\build.xml

resolve: [ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: url = jar:file:/c:/ant/bin/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: leiloes#leiloes;working@Elton-Notbook [ivy:retrieve] confs: [default, provided, test, jetty, minify] [ivy:retrieve] found br.com.caelum#vraptor;3.4.0 in public [ivy:retrieve] found cglib#cglib-nodep;2.1_3 in public [ivy:retrieve] found com.google.guava#guava;r07 in public [ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in public [ivy:retrieve] found org.slf4j#slf4j-log4j12;1.6.1 in public [ivy:retrieve] found log4j#log4j;1.2.16 in public [ivy:retrieve] found net.vidageek#mirror;1.5.1 in public [ivy:retrieve] found org.objenesis#objenesis;1.1 in public [ivy:retrieve] found ognl#ognl;2.7.3 in public [ivy:retrieve] found jboss#javassist;3.7.ga in public [ivy:retrieve] found com.thoughtworks.paranamer#paranamer;2.2 in public [ivy:retrieve] found org.springframework#spring-aop;3.0.5.RELEASE in public [ivy:retrieve] found aopalliance#aopalliance;1.0 in public [ivy:retrieve] found org.springframework#spring-asm;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-beans;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-core;3.0.5.RELEASE in public [ivy:retrieve] found commons-logging#commons-logging;1.1.1 in public [ivy:retrieve] found org.springframework#spring-context;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-expression;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-web;3.0.5.RELEASE in public [ivy:retrieve] found org.aspectj#aspectjrt;1.6.9 in public [ivy:retrieve] found net.sf.scannotation#scannotation;1.0.2 in public [ivy:retrieve] found javassist#javassist;3.6.0.GA in public [ivy:retrieve] found jfree#jfreechart;1.0.12 in public [ivy:retrieve] found jfree#jcommon;1.0.15 in public [ivy:retrieve] found org.hsqldb#hsqldb;2.2.4 in public [ivy:retrieve] found opensymphony#sitemesh;2.4.2 in public [ivy:retrieve] found javax.servlet#jstl;1.2 in public [ivy:retrieve] found org.hibernate#hibernate-entitymanager;3.6.7.Final in public [ivy:retrieve] found org.hibernate#hibernate-core;3.6.7.Final in public [ivy:retrieve] found antlr#antlr;2.7.6 in public [ivy:retrieve] found commons-collections#commons-collections;3.1 in public [ivy:retrieve] found dom4j#dom4j;1.6.1 in public [ivy:retrieve] found org.hibernate#hibernate-commons-annotations;3.2.0.Final in public [ivy:retrieve] found org.hibernate.javax.persistence#hibernate-jpa-2.0-api;1.0.1.Final in public [ivy:retrieve] found javax.transaction#jta;1.1 in public [ivy:retrieve] found cglib#cglib;2.2 in public [ivy:retrieve] found asm#asm;3.1 in public [ivy:retrieve] found javassist#javassist;3.12.0.GA in public [ivy:retrieve] found org.hibernate#hibernate-c3p0;3.6.7.Final in public [ivy:retrieve] found c3p0#c3p0;0.9.1 in public [ivy:retrieve] found org.hibernate#hibernate-validator;4.2.0.Final in public [ivy:retrieve] found javax.validation#validation-api;1.0.0.GA in public [ivy:retrieve] found joda-time#joda-time;2.0 in public [ivy:retrieve] found com.thoughtworks.xstream#xstream;1.4.1 in public [ivy:retrieve] found xmlpull#xmlpull;1.1.3.1 in public [ivy:retrieve] found xpp3#xpp3_min;1.1.4c in public [ivy:retrieve] found javax.servlet#servlet-api;2.5 in public [ivy:retrieve] found javax.servlet.jsp#jsp-api;2.1 in public [ivy:retrieve] found junit#junit;4.10 in public [ivy:retrieve] found org.hamcrest#hamcrest-core;1.1 in public [ivy:retrieve] found org.hamcrest#hamcrest-all;1.1 in public [ivy:retrieve] found org.mockito#mockito-all;1.8.5 in public [ivy:retrieve] found org.mortbay.jetty#jsp-api-2.1;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#servlet-api-2.5;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jsp-2.1;6.1.14 in public [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in public [ivy:retrieve] found ant#ant;1.6.5 in public [ivy:retrieve] found org.mortbay.jetty#jetty-ant;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty-util;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty-plus;6.1.14 in public [ivy:retrieve] found geronimo-spec#geronimo-spec-jta;1.0.1B-rc4 in public [ivy:retrieve] found org.mortbay.jetty#jetty-naming;6.1.14 in public [ivy:retrieve] found javax.mail#mail;1.4 in public [ivy:retrieve] found com.yahoo.platform.yui#yuicompressor;2.3.6 in public [ivy:retrieve] :: resolution report :: resolve 1745ms :: artifacts dl 107ms [ivy:retrieve] :: evicted modules:

[ivy:retrieve] javassist#javassist;3.6.0.GA by [javassist#javassist;3.12.0.GA] in [default]

| | modules || artifacts |

| conf | number| search|dwnlded|evicted|| number|dwnlded|

| default | 47 | 0 | 0 | 1 || 46 | 0 | | provided | 2 | 0 | 0 | 0 || 2 | 0 | | test | 4 | 0 | 0 | 0 || 4 | 0 | | jetty | 12 | 0 | 0 | 0 || 12 | 0 |

| minify | 1 | 0 | 0 | 0 || 1 | 0 |

[ivy:retrieve] :: retrieving :: leiloes#leiloes [sync] [ivy:retrieve] confs: [default, provided, test, jetty, minify] [ivy:retrieve] 0 artifacts copied, 65 already retrieved (0kB/68ms) [copy] Copying 46 files to c:\ant\bin\src\main\webapp\WEB-INF\lib

compile: [javac] c:\ant\bin\build.xml:41: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED c:\ant\bin\build.xml:41: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre1.8.0_66"

Total time: 2 seconds

c:\ant\bin>

Dá uma olhada ali no final. Ele não tá achando o javac. Vc está usando Windows, certo? Vc configurou as variáveis JAVA_HOME e tudo direitinho, para que o compilador funcione?

Da pra entender?

OJavac esta funcionando, e as configurações são as seguintes:

Variável do Sistema: Nome da Variável: ANT_HOME Valor da Variável: C:\ant\bin

Variável do Sistema: Nome da Variável: Path Valor da Variável: %ANT_HOME%\bin

Quer que eu lhe passe o resultado do ping do Javac?

Elton

E a variável JAVA_HOME ?

JAVA_HOME C:\Program Files\%Java\jdk1.8.0_65\

Mauricio, pode me add no skype para falarmos melhor?

Oi Elton,

o estranho é que o ANT não aponta para o JAVA_HOME que vc postou.

Vc postou: C:\Program Files\%Java\jdk1.8.0_65\

ANT mostra: C:\Program Files\Java\jre1.8.0_66

O JRE não basta para compilar com ANT.

Abs

Os dois estão apontado para C:\Program Files\%Java\jdk1.8.0_65\

ANT_HOME = C:\Program Files\Java\jdk1.8.0_65\bin JAVA_HOME = C:\Program Files\Java\jdk1.8.0_65\bin

Path = %ANT_HOME%\bin

Isso ta certo?

Oi Elton,

o JAVA_HOME deve ser: C:\Program Files\Java\jdk1.8.0_65

Repare sem a pasta bin

O ANT_HOME é a pasta de instalação do ANT, por exemplo: C:\Program Files\apache-ant-1.9.6

Aqui tbm sem a pasta bin

Agora a variável PATH de seu sistema operacional deve incluir os dois caminhos: %JAVA_HOME%\bin e %ANT_HOME%\bin

ok?

abs

Nico, ficou assim: Foi o que eu tentedi.

ANT_HOME = C:\ant JAVA_HOME = C:\Program Files\Java\jdk1.8.0_65 Path = ;%JAVA_HOME%\bin;%ANT_HOME%\bin

Mas não funcionou.

Vc abriu e fechou o console depois que mexeu nas variáveis? No Windows, elas não atualizam automaticamente.

sim Mauricio, mas ainda esta dando erro:

BUILD FAILED c:\ant\bin\build.xml:41: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.

Se vc digita javac no terminal, ele funciona?

Só posso chutar que seja algo com a sua instalação do Java ou do Ant! As configurações estão todas certas, sim! :/

Nico, vc consegue ver algo que eu não vi? Parece tudo ok, né?

Oi Elton,

estamos no caminho certo :)

Você pode verificar o resultado no console através dos seguintes comandos:

Para imprimir a variável de ambiente PATH digite

echo %PATH%

Assim vc também pode verificar as outras variáveis. Tbm tem o comando set que imprime todas as variáveis no console.

Se as variáveis estão ok, tente no console:

java -version

e

javac -version

e

ant -version

Todos os comandos devem imprimir a versão utilizada.

abs

C:\Users\Elton>echo %PATH% =

C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Arquivos de Programas\java\jdk1.8.0_65\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;%\bin;C:\Program Files\Java\jdk1.8.0_65\bin;C:\Program Files\Java\jre1.8.0_66\bin;C:\ant\bin;;C:\Program Files (x86)\Microsoft VS Code\bin

C:\Users\Elton>java -version =

java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b18) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b18, mixed mode)

C:\Users\Elton>javac -version = javac 1.8.0_65

C:\Users\Elton>ant -version = Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_66\lib\tools.jar Apache Ant(TM) version 1.9.6 compiled on June 29 2015

C:\Users\Elton>

Tô na dúvida se pode ter tanto a JDK quanto a JRE no Path. Tenta tirar o path da JRE ali e vê se vai.

Mauricio, o resultado de Javac é:

C:\Users\Elton>javac Usage: javac where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are used -classpath Specify where to find user class files and annotation processors -cp Specify where to find user class files and annotation processors -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -endorseddirs Override location of endorsed standards path -proc:{none,only} Control whether annotation processing and/or compilation is done. -processor [,,...] Names of the annotation processors to run; bypasses default discovery process -processorpath Specify where to find annotation processors -parameters Generate metadata for reflection on method parameters -d Specify where to place generated class files -s Specify where to place generated source files -h Specify where to place generated native header files -implicit:{none,class} Specify whether or not to generate class files for implicitly referenced files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -profile Check that API used is available in the specified profile -version Version information -help Print a synopsis of standard options -Akey[=value] Options to pass to annotation processors -X Print a synopsis of nonstandard options -J Pass directly to the runtime system -Werror Terminate compilation if warnings occur @ Read options and filenames from file

C:\Users\Elton>

Oi Elton,

corrige o PATH e tire C:\Program Files\Java\jre1.8.0_66\bin

coloque aqui tbm o que o comando set imprime na console.

abs

Pronto Nico, resultado da set:

C:\Users\Elton>set ALLUSERSPROFILE=C:\ProgramData ANT_HOME=C:\ant APPDATA=C:\Users\Elton\AppData\Roaming CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=ELTON-NOTBOOK ComSpec=C:\WINDOWS\system32\cmd.exe HOMEDRIVE=C: HOMEPATH=\Users\Elton JAVA_HOME=C:\Program Files\%Java\jdk1.8.0_65\ LOCALAPPDATA=C:\Users\Elton\AppData\Local LOGONSERVER=\MicrosoftAccount NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Arquivos de Programas\java\jdk1.8.0_65\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;%\bin;C:\Program Files\Java\jre1.8.0_66\bin;C:\ant\bin;;C:\Program Files (x86)\Microsoft VS Code\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2a07 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\Elton\AppData\Local\Temp TMP=C:\Users\Elton\AppData\Local\Temp USERDOMAIN=ELTON-NOTBOOK USERDOMAIN_ROAMINGPROFILE=ELTON-NOTBOOK USERNAME=Elton USERPROFILE=C:\Users\Elton VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ windir=C:\WINDOWS

C:\Users\Elton>

o erro continua...

Elton, o JRE continua no PATH, tire por favor.

abs

Nico o Path esta assim:

C:\ProgramData\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;%\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin

set atualizado:

C:\Users\Elton>set
ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=C:\ant
APPDATA=C:\Users\Elton\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ELTON-NOTBOOK
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Users\Elton
JAVA_HOME=C:\Program Files\%Java\jdk1.8.0_65\
LOCALAPPDATA=C:\Users\Elton\AppData\Local
LOGONSERVER=\\MicrosoftAccount
NUMBER_OF_PROCESSORS=4
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;%\bin;C:\Program Files\%Java\jdk1.8.0_65\\bin;C:\ant\bin;;C:\Program Files (x86)\Microsoft VS Code\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2a07
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\Elton\AppData\Local\Temp
TMP=C:\Users\Elton\AppData\Local\Temp
USERDOMAIN=ELTON-NOTBOOK
USERDOMAIN_ROAMINGPROFILE=ELTON-NOTBOOK
USERNAME=Elton
USERPROFILE=C:\Users\Elton
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
windir=C:\WINDOWS

C:\Users\Elton>

executando ant vc recebe a mesma mensagem de erro?

C:\Users\Elton>ant Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_66\lib\tools.jar Buildfile: build.xml does not exist! Build failed

C:\Users\Elton>

o ant ainda está usando o JRE .... caraca.

estranho isso, pois nas variáveis de ambiente que vc postou nao existe mais o JRE. vou testar isso aqui e te falo, mas é alguma besteira que está atrapalhando a gente ....

abs

Também acho! Por que segui o tutorial certinho, depois que deu erro me perdi.

Agradeço a ajudar até aqui!

Fico aguardando .

Elton

vc está usando qual versão do windows?

windows 10

tenho um windows 10 cru em casa, vou testar e te respondo depois.

abs

Ok, obrigado!

Oi Elton, acabei de testar!

No meu computador com windows 10 eu já tinha o JRE 7 instalado.

Instalei primeiro o ANT e testei na linha de comando (com path configurado). Recebi o mesmo erro de vc (Unable to locate tools.jar). Bom isso foi esperado.

Depois baixei e instalei o JDK 8, adicionei no path. O comando javac funcionou mas o ANT acusou ainda o mesmo problema.

Por ultimo, configurei o JAVA_HOME e ai sim o ANT tbm começou a funcionar!


E dei uma olhada novamente nos seus variáveis de ambiente. Repare que seu JAVA_HOME tem um % no caminho:

JAVA_HOME=C:\Program Files\%Java\jdk1.8.0_65\

Será que isso atrapalha?

abs

solução!

Bom dia Nico!

Erra isso msm, Erro besta que nos faz perder um tempão! Muito obrigado pelo tempo de todos você!

Abraço, Elton

Nico,

Inexplicavelmente parou de funcionar novamente!!

Teste e depois quando fui criar meu teste não funcionou mais!

Pode me ajudar novamente por favor!

O Teste deu o seguinte resultado:

c:\ant\bin>ant jetty.run Buildfile: c:\ant\bin\build.xml

resolve: [ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: url = jar:file:/c:/ant/bin/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: leiloes#leiloes;working@Elton-Notbook [ivy:retrieve] confs: [default, provided, test, jetty, minify] [ivy:retrieve] found br.com.caelum#vraptor;3.4.0 in public [ivy:retrieve] found cglib#cglib-nodep;2.1_3 in public [ivy:retrieve] found com.google.guava#guava;r07 in public [ivy:retrieve] found org.slf4j#slf4j-api;1.6.1 in public [ivy:retrieve] found org.slf4j#slf4j-log4j12;1.6.1 in public [ivy:retrieve] found log4j#log4j;1.2.16 in public [ivy:retrieve] found net.vidageek#mirror;1.5.1 in public [ivy:retrieve] found org.objenesis#objenesis;1.1 in public [ivy:retrieve] found ognl#ognl;2.7.3 in public [ivy:retrieve] found jboss#javassist;3.7.ga in public [ivy:retrieve] found com.thoughtworks.paranamer#paranamer;2.2 in public [ivy:retrieve] found org.springframework#spring-aop;3.0.5.RELEASE in public [ivy:retrieve] found aopalliance#aopalliance;1.0 in public [ivy:retrieve] found org.springframework#spring-asm;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-beans;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-core;3.0.5.RELEASE in public [ivy:retrieve] found commons-logging#commons-logging;1.1.1 in public [ivy:retrieve] found org.springframework#spring-context;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-expression;3.0.5.RELEASE in public [ivy:retrieve] found org.springframework#spring-web;3.0.5.RELEASE in public [ivy:retrieve] found org.aspectj#aspectjrt;1.6.9 in public [ivy:retrieve] found net.sf.scannotation#scannotation;1.0.2 in public [ivy:retrieve] found javassist#javassist;3.6.0.GA in public [ivy:retrieve] found jfree#jfreechart;1.0.12 in public [ivy:retrieve] found jfree#jcommon;1.0.15 in public [ivy:retrieve] found org.hsqldb#hsqldb;2.2.4 in public [ivy:retrieve] found opensymphony#sitemesh;2.4.2 in public [ivy:retrieve] found javax.servlet#jstl;1.2 in public [ivy:retrieve] found org.hibernate#hibernate-entitymanager;3.6.7.Final in public [ivy:retrieve] found org.hibernate#hibernate-core;3.6.7.Final in public [ivy:retrieve] found antlr#antlr;2.7.6 in public [ivy:retrieve] found commons-collections#commons-collections;3.1 in public [ivy:retrieve] found dom4j#dom4j;1.6.1 in public [ivy:retrieve] found org.hibernate#hibernate-commons-annotations;3.2.0.Final in public [ivy:retrieve] found org.hibernate.javax.persistence#hibernate-jpa-2.0-api;1.0.1.Final in public [ivy:retrieve] found javax.transaction#jta;1.1 in public [ivy:retrieve] found cglib#cglib;2.2 in public [ivy:retrieve] found asm#asm;3.1 in public [ivy:retrieve] found javassist#javassist;3.12.0.GA in public [ivy:retrieve] found org.hibernate#hibernate-c3p0;3.6.7.Final in public [ivy:retrieve] found c3p0#c3p0;0.9.1 in public [ivy:retrieve] found org.hibernate#hibernate-validator;4.2.0.Final in public [ivy:retrieve] found javax.validation#validation-api;1.0.0.GA in public [ivy:retrieve] found joda-time#joda-time;2.0 in public [ivy:retrieve] found com.thoughtworks.xstream#xstream;1.4.1 in public [ivy:retrieve] found xmlpull#xmlpull;1.1.3.1 in public [ivy:retrieve] found xpp3#xpp3_min;1.1.4c in public [ivy:retrieve] found javax.servlet#servlet-api;2.5 in public [ivy:retrieve] found javax.servlet.jsp#jsp-api;2.1 in public [ivy:retrieve] found junit#junit;4.10 in public [ivy:retrieve] found org.hamcrest#hamcrest-core;1.1 in public [ivy:retrieve] found org.hamcrest#hamcrest-all;1.1 in public [ivy:retrieve] found org.mockito#mockito-all;1.8.5 in public [ivy:retrieve] found org.mortbay.jetty#jsp-api-2.1;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#servlet-api-2.5;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jsp-2.1;6.1.14 in public [ivy:retrieve] found org.eclipse.jdt#core;3.1.1 in public [ivy:retrieve] found ant#ant;1.6.5 in public [ivy:retrieve] found org.mortbay.jetty#jetty-ant;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty-util;6.1.14 in public [ivy:retrieve] found org.mortbay.jetty#jetty-plus;6.1.14 in public [ivy:retrieve] found geronimo-spec#geronimo-spec-jta;1.0.1B-rc4 in public [ivy:retrieve] found org.mortbay.jetty#jetty-naming;6.1.14 in public [ivy:retrieve] found javax.mail#mail;1.4 in public [ivy:retrieve] found com.yahoo.platform.yui#yuicompressor;2.3.6 in public [ivy:retrieve] :: resolution report :: resolve 1885ms :: artifacts dl 143ms [ivy:retrieve] :: evicted modules:

[ivy:retrieve] javassist#javassist;3.6.0.GA by [javassist#javassist;3.12.0.GA] in [default]

| | modules || artifacts |

| conf | number| search|dwnlded|evicted|| number|dwnlded|

| default | 47 | 0 | 0 | 1 || 46 | 0 | | provided | 2 | 0 | 0 | 0 || 2 | 0 | | test | 4 | 0 | 0 | 0 || 4 | 0 | | jetty | 12 | 0 | 0 | 0 || 12 | 0 |

| minify | 1 | 0 | 0 | 0 || 1 | 0 |

[ivy:retrieve] :: retrieving :: leiloes#leiloes [sync] [ivy:retrieve] confs: [default, provided, test, jetty, minify] [ivy:retrieve] 0 artifacts copied, 65 already retrieved (0kB/60ms) [copy] Copying 46 files to c:\ant\bin\src\main\webapp\WEB-INF\lib

compile: [javac] c:\ant\bin\build.xml:41: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 15 source files to c:\ant\bin\src\main\webapp\WEB-INF\classes [copy] Copying 4 files to c:\ant\bin\src\main\webapp\WEB-INF\classes

jetty.run: [jetty] Configuring Jetty for project: vraptor-scaffold [jetty] 2015-11-27 12:47:43.835::INFO: Logging to STDERR via org.mortbay.log.StdErrLog [jetty] [jetty] Configuring Jetty for web application: leiloes [jetty] Webapp source directory = c:\ant\bin\src\main\webapp [jetty] Context path = / [jetty] Classpath = [] [jetty] Default scanned paths = [] [jetty] Extra scan targets = [c:\ant\bin\src\main\webapp\WEB-INF\classes] [jetty] Temp directory = c:\ant\bin\target\jetty-temp\ [jetty] web.xml file = c:\ant\bin\src\main\webapp\WEB-INF\web.xml [jetty] 2015-11-27 12:47:43.944::INFO: jetty-6.1.14 [jetty] 2015-11-27 12:47:44.112::INFO: org.mortbay.jetty.ant.JettyWebAppConfiguration does not support annotations on source. Use org.mortbay.jetty.annotations.Configuration instead [jetty] 2015-11-27 12:47:44.116::INFO: No Transaction manager found - if your webapp requires one, please configure one. [jetty] 15-11-27 12:47:44,618 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider [jetty] 15-11-27 12:47:44,652 [INFO] br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator - No application context found [jetty] 15-11-27 12:47:44,883 [INFO] br.com.caelum.vraptor.scan.WebAppBootstrapFactory - No static WebAppBootstrap found. [jetty] 15-11-27 12:47:44,884 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - br.com.caelum.vraptor.scanning = null [jetty] 15-11-27 12:47:44,989 [INFO] br.com.caelum.vraptor.scan.ScannotationComponentScanner - scanning url jar:file:/C:/ant/bin/src/main/webapp/WEB-INF/lib/vraptor-3.4.0.jar!/br/com/caelum/vraptor/util/jpa [jetty] 15-11-27 12:47:45,230 [INFO] org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Fri Nov 27 12:47:45 BRST 2015]; root of context hierarchy [jetty] 15-11-27 12:47:45,512 [WARN] br.com.caelum.vraptor.core.BaseComponents - There is neither commons-fileupload nor servlet3 handlers registered. If you are willing to upload a file, please add the commons-fileupload in your classpath or use a Servlet 3 Container [jetty] 15-11-27 12:47:45,589 [INFO] org.springframework.beans.factory.support.DefaultListableBeanFactory - Overriding bean definition for bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': replacing [Root bean: class [org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] [jetty] 15-11-27 12:47:45,736 [INFO] org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2c30b71f: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,validatorFactoryCreator,messageInterpolatorFactory,objenesisInstanceCreator,defaultConverters,defaultTypeFinder,defaultMethodNotAllowedHandler,defaultDeserializers,defaultResourceNotFoundHandler,defaultMultipartConfig,defaultRouter,defaultAcceptHeaderToFormat,defaultInterceptorHandlerFactory,defaultTypeNameExtractor,paranamerNameProvider,XStreamConverters.NullConverter,pathAnnotationRoutesParser,noRoutesConfiguration,encodingHandlerFactory,interceptorListPriorToExecutionExtractor,defaultResourceTranslator,defaultRoutes,JSR303ValidatorFactory,cglibProxifier,javaEvaluator,topologicalSortedInterceptorRegistry,defaultRestDefaults,hibernateProxyInitializer,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,defaultFormatResolver,instantiateInterceptor,ognlParametersProvider,applicationConfiguration,defaultPathResolver,emptyElementsRemoval,XStreamXMLSerialization,sessionFlashScope,XStreamConverters,jsonDeserializer,ognlFacade,resourceLookupInterceptor,flashInterceptor,defaultHttpResult,nullMultipartInterceptor,defaultStatus,defaultLogicResult,defaultPageResult,forwardToDefaultViewInterceptor,defaultRefererResult,XStreamJSONPSerialization,messageConverter,defaultRestHeadersHandler,downloadInterceptor,exceptionHandlerInterceptor,HTMLSerialization,defaultRepresentationResult,emptyResult,defaultValidator,XStreamJSONSerialization,parametersInstantiatorInterceptor,XStreamXMLDeserializer,JSR303Validator,defaultResult,replicatorOutjector,jstlLocalization,deserializingInterceptor,defaultValidationViewsFactory,defaultExceptionMapper,executeMethodInterceptor,defaultMethodInfo,outjectResult,primitiveLongConverter,floatConverter,stringConverter,bigDecimalConverter,localDateConverter,primitiveCharConverter,primitiveFloatConverter,bigIntegerConverter,enumConverter,primitiveShortConverter,uploadedFileConverter,primitiveDoubleConverter,shortConverter,integerConverter,localDateTimeConverter,primitiveIntConverter,localTimeConverter,characterConverter,booleanConverter,doubleConverter,localeBasedDateConverter,primitiveByteConverter,longConverter,byteConverter,primitiveBooleanConverter,localeBasedCalendarConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,defaultInterceptorStack,XStreamBuilderImpl,enhancedRequestExecution,org.springframework.aop.config.internalAutoProxyCreator,leilaoController,usuarioRepositoryImpl,entityManagerFactoryCreator,lanceRepositoryImpl,usuarioController,lanceController,leilaoRepositoryImpl,testeController,parameterLoaderInterceptor,JPATransactionInterceptor,entityManagerCreator]; root of factory hierarchy [jetty] 15-11-27 12:47:46,025 [INFO] org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final [jetty] 15-11-27 12:47:46,035 [INFO] org.hibernate.cfg.Environment - Hibernate 3.6.7.Final [jetty] 15-11-27 12:47:46,039 [INFO] org.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {initialPoolSize=3, maxPoolSize=20, hibernate.connection.driver_class=org.hsqldb.jdbcDriver, preferredTestQuery=select 1, hibernate.format_sql=true, hibernate.query.substitutions=true=1, false=0, acquireIncrement=5, timeout=25200, hibernate.hbm2ddl.auto=update, hibernate.connection.url=jdbc:hsqldb:file:leiloes.db, idleConnectionTestPeriod=100, hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProvider, hibernate.bytecode.use_reflection_optimizer=false, hibernate.show_sql=true, minPoolSize=3} [jetty] 15-11-27 12:47:46,045 [INFO] org.hibernate.cfg.Environment - Bytecode provider name : javassist [jetty] 15-11-27 12:47:46,051 [INFO] org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling [jetty] 15-11-27 12:47:46,135 [INFO] org.hibernate.ejb.Version - Hibernate EntityManager 3.6.7.Final [jetty] 15-11-27 12:47:46,353 [INFO] org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: app.models.Leilao [jetty] 15-11-27 12:47:46,412 [INFO] org.hibernate.cfg.annotations.EntityBinder - Bind entity app.models.Leilao on table Leilao [jetty] 15-11-27 12:47:46,541 [INFO] org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: app.models.Lance [jetty] 15-11-27 12:47:46,542 [INFO] org.hibernate.cfg.annotations.EntityBinder - Bind entity app.models.Lance on table Lance [jetty] 15-11-27 12:47:46,549 [INFO] org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: app.models.Usuario [jetty] 15-11-27 12:47:46,550 [INFO] org.hibernate.cfg.annotations.EntityBinder - Bind entity app.models.Usuario on table Usuario [jetty] 15-11-27 12:47:46,566 [INFO] org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: app.models.Leilao.lances -> Lance [jetty] 15-11-27 12:47:46,572 [INFO] org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring [jetty] 15-11-27 12:47:46,596 [INFO] org.hibernate.validator.util.Version - Hibernate Validator 4.2.0.Final [jetty] 15-11-27 12:47:46,766 [INFO] org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. [jetty] 15-11-27 12:47:46,774 [INFO] org.hibernate.connection.ConnectionProviderFactory - Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider [jetty] 15-11-27 12:47:46,777 [INFO] org.hibernate.connection.C3P0ConnectionProvider - C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:file:leiloes.db [jetty] 15-11-27 12:47:46,778 [INFO] org.hibernate.connection.C3P0ConnectionProvider - Connection properties: {autocommit=true, release_mode=auto} [jetty] 15-11-27 12:47:46,779 [INFO] org.hibernate.connection.C3P0ConnectionProvider - autocommit mode: true [jetty] 15-11-27 12:47:46,805 [INFO] com.mchange.v2.log.MLog - MLog clients using log4j logging. [jetty] 15-11-27 12:47:46,971 [INFO] com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10] [jetty] 15-11-27 12:47:47,089 [INFO] com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@ef2638ef [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@642cb4ca [ acquireIncrement -> 5, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0w39dkdbclv164k6s9|260a3a5e, idleConnectionTestPeriod -> 100, initialPoolSize -> 3, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1e456d7b [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1hge0w39dkdbclv164k6s9|81b5db0, jdbcUrl -> jdbc:hsqldb:file:leiloes.db, properties -> {autocommit=true, release_mode=auto} ], preferredTestQuery -> select 1, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 1hge0w39dkdbclv164k6s9|4cdb8504, numHelperThreads -> 3 ] [jetty] 15-11-27 12:47:47,550 [INFO] hsqldb.db.HSQLDB51494EC9FD.ENGINE - checkpointClose start [jetty] 15-11-27 12:47:47,573 [INFO] hsqldb.db.HSQLDB51494EC9FD.ENGINE - checkpointClose end [jetty] 15-11-27 12:47:47,642 [INFO] org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect [jetty] 15-11-27 12:47:47,655 [INFO] org.hibernate.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException [jetty] 15-11-27 12:47:47,657 [INFO] org.hibernate.cfg.SettingsFactory - Database -> [jetty] name : HSQL Database Engine [jetty] version : 2.2.4 [jetty] major : 2 [jetty] minor : 2 [jetty] 15-11-27 12:47:47,659 [INFO] org.hibernate.cfg.SettingsFactory - Driver -> [jetty] name : HSQL Database Engine Driver [jetty] version : 2.2.4 [jetty] major : 2 [jetty] minor : 2 [jetty] 15-11-27 12:47:47,664 [INFO] org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions) [jetty] 15-11-27 12:47:47,666 [INFO] org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) [jetty] 15-11-27 12:47:47,668 [INFO] org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled [jetty] 15-11-27 12:47:47,668 [INFO] org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled [jetty] 15-11-27 12:47:47,671 [INFO] org.hibernate.cfg.SettingsFactory - JDBC batch size: 15 [jetty] 15-11-27 12:47:47,671 [INFO] org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled [jetty] 15-11-27 12:47:47,675 [INFO] org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled [jetty] 15-11-27 12:47:47,675 [INFO] org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled [jetty] 15-11-27 12:47:47,676 [INFO] org.hibernate.cfg.SettingsFactory - Connection release mode: auto [jetty] 15-11-27 12:47:47,678 [INFO] org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1 [jetty] 15-11-27 12:47:47,678 [INFO] org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled [jetty] 15-11-27 12:47:47,680 [INFO] org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled [jetty] 15-11-27 12:47:47,680 [INFO] org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled [jetty] 15-11-27 12:47:47,683 [INFO] org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory [jetty] 15-11-27 12:47:47,688 [INFO] org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory [jetty] 15-11-27 12:47:47,689 [INFO] org.hibernate.cfg.SettingsFactory - Query language substitutions: {true=1, false=0} [jetty] 15-11-27 12:47:47,691 [INFO] org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: enabled [jetty] 15-11-27 12:47:47,691 [INFO] org.hibernate.cfg.SettingsFactory - Second-level cache: enabled [jetty] 15-11-27 12:47:47,692 [INFO] org.hibernate.cfg.SettingsFactory - Query cache: disabled [jetty] 15-11-27 12:47:47,693 [INFO] org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory [jetty] 15-11-27 12:47:47,697 [INFO] org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled [jetty] 15-11-27 12:47:47,698 [INFO] org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled [jetty] 15-11-27 12:47:47,705 [INFO] org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout [jetty] 15-11-27 12:47:47,707 [INFO] org.hibernate.cfg.SettingsFactory - Statistics: disabled [jetty] 15-11-27 12:47:47,707 [INFO] org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled [jetty] 15-11-27 12:47:47,708 [INFO] org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo [jetty] 15-11-27 12:47:47,709 [INFO] org.hibernate.cfg.SettingsFactory - Named query checking : enabled [jetty] 15-11-27 12:47:47,710 [INFO] org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): disabled [jetty] 15-11-27 12:47:47,739 [INFO] org.hibernate.impl.SessionFactoryImpl - building session factory [jetty] 15-11-27 12:47:47,747 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [clob] overrides previous : org.hibernate.type.ClobType@672b72ba [jetty] 15-11-27 12:47:47,748 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@672b72ba [jetty] 15-11-27 12:47:47,750 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@7718a40f [jetty] 15-11-27 12:47:47,751 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [blob] overrides previous : org.hibernate.type.BlobType@312b34e3 [jetty] 15-11-27 12:47:47,752 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@312b34e3 [jetty] 15-11-27 12:47:47,753 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@26844abb [jetty] 15-11-27 12:47:47,755 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@1a865273 [jetty] 15-11-27 12:47:47,760 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@288ca5f0 [jetty] 15-11-27 12:47:47,761 [INFO] org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@4068102e [jetty] 15-11-27 12:47:48,113 [INFO] org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured [jetty] 15-11-27 12:47:48,122 [INFO] org.hibernate.tool.hbm2ddl.SchemaUpdate - Running hbm2ddl schema update [jetty] 15-11-27 12:47:48,123 [INFO] org.hibernate.tool.hbm2ddl.SchemaUpdate - fetching database metadata [jetty] 15-11-27 12:47:48,142 [INFO] org.hibernate.tool.hbm2ddl.SchemaUpdate - updating schema [jetty] 15-11-27 12:47:48,231 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - table found: PUBLIC.PUBLIC.LANCE [jetty] 15-11-27 12:47:48,234 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - columns: [data, usuario_id, valor, leilao_id, id] [jetty] 15-11-27 12:47:48,236 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: [fk45cbb9bccf67091, fk45cbb9b2e297ac3] [jetty] 15-11-27 12:47:48,237 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [sys_idx_sys_pk_10027_10029, sys_idx_10037, sys_idx_10039] [jetty] 15-11-27 12:47:48,268 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - table found: PUBLIC.PUBLIC.LEILAO [jetty] 15-11-27 12:47:48,268 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - columns: [valorinicial, dataabertura, usuario_id, usado, nome, id] [jetty] 15-11-27 12:47:48,270 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: [fk8770f1aa2e297ac3] [jetty] 15-11-27 12:47:48,271 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [sys_idx_10041, sys_idx_sys_pk_10031_10033] [jetty] 15-11-27 12:47:48,301 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - table found: PUBLIC.PUBLIC.USUARIO [jetty] 15-11-27 12:47:48,301 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - columns: [nome, id, email] [jetty] 15-11-27 12:47:48,303 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: [] [jetty] 15-11-27 12:47:48,303 [INFO] org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [sys_idx_sys_pk_10035_10036] [jetty] 15-11-27 12:47:48,306 [INFO] org.hibernate.tool.hbm2ddl.SchemaUpdate - schema update complete [jetty] 15-11-27 12:47:48,430 [INFO] br.com.caelum.vraptor.core.DefaultConverters - Registering bundled converters [jetty] 15-11-27 12:47:48,461 [INFO] br.com.caelum.vraptor.view.LinkToHandler - Registering linkTo component [jetty] 15-11-27 12:47:48,579 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /leiloes [GET] -> LeilaoController.index() [jetty] 15-11-27 12:47:48,589 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /leiloes [POST] -> LeilaoController.create(Leilao) [jetty] 15-11-27 12:47:48,592 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /leiloes/{leilao.id} [GET] -> LeilaoController.show(Leilao) [jetty] 15-11-27 12:47:48,593 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /leiloes/new [GET] -> LeilaoController.newLeilao() [jetty] 15-11-27 12:47:48,595 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios [GET] -> UsuarioController.index() [jetty] 15-11-27 12:47:48,600 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios [PUT] -> UsuarioController.update(Usuario) [jetty] 15-11-27 12:47:48,602 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios [POST] -> UsuarioController.create(Usuario) [jetty] 15-11-27 12:47:48,608 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios/{usuario.id} [DELETE] -> UsuarioController.destroy(Usuario) [jetty] 15-11-27 12:47:48,610 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios/{usuario.id} [GET] -> UsuarioController.show(Usuario) [jetty] 15-11-27 12:47:48,613 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios/{usuario.id}/edit [GET] -> UsuarioController.edit(Usuario) [jetty] 15-11-27 12:47:48,615 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /usuarios/new [GET] -> UsuarioController.newUsuario() [jetty] 15-11-27 12:47:48,618 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /_lances [POST] -> LanceController.novoLance(Lance) [jetty] 15-11-27 12:47:48,621 [INFO] br.com.caelum.vraptor.http.route.DefaultRouteBuilder - /apenas-teste/limpa [GET] -> TesteController.index() [jetty] 15-11-27 12:47:48,624 [INFO] br.com.caelum.vraptor.VRaptor - VRaptor 3.4.0 successfuly initialized [jetty] 2015-11-27 12:47:48.776::INFO: Started SelectChannelConnector@0.0.0.0:8080 [jetty] Web application 'leiloes': starting scanner at interval of 3 seconds.

Oi Elton,

o log que vc postou parece tudo ok!

nao está conseguindo acessar a aplicação web?

vamos que vamos :)

abs

Boa tarde Nico,

Consegui uma vez e depois parou sem nenhuma comando! Como vc deporia me ajudar?

Oi Elton,

o servidor parou?

Isso pode acontecer se vc aperta ctrl-c no console.

O log que vc postou indica que o servidor subiu corretamente. Repare:

Started SelectChannelConnector@0.0.0.0:8080 [jetty] Web application 'leiloes': starting scanner at interval of 3 seconds.

Jetty é o servidor, que foi iniciado rodando no 0.0.0.0:8080

Entendi Nico,

Como posso acertar isso?

Oi Elton,

por favor abre uma nova duvida no forum, essa aqui já tá grande demais \o/. assim outros alunos e moderadores também podem ajudar.

só peço descrever direitinho qual é o problema (mais especifico possível). não vamos desistir, ok?

abs e bom estudo, Nico

Obrigado Nico!