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

Dúvida no Ex. 1 do Capítulo 1 - Iterando sobre coleções

Ocorreu um problema, quando importo o projeto e executo no server, aparece o seguinte error:

abr 04, 2015 9:17:05 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:produtos' did not find a matching property.
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version:        Apache Tomcat/8.0.17
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built:          Jan 9 2015 15:58:59 UTC
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number:         8.0.17.0
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name:               Windows 8.1
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version:            6.3
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture:          amd64
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JAVA_HOME:             C:\Program Files\Java\jre1.8.0_31
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version:           1.8.0_31-b13
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor:            Oracle Corporation
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE:         C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME:         C:\DEVELOPMENT\jars\apache-tomcat-8.0.17
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\DEVELOPMENT\jars\apache-tomcat-8.0.17
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\DEVELOPMENT\jars\apache-tomcat-8.0.17\endorsed
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252
abr 04, 2015 9:17:05 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\groovy-2.4.1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0\bin;.
abr 04, 2015 9:17:05 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-nio-8080"]
abr 04, 2015 9:17:05 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
abr 04, 2015 9:17:05 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-nio-8009"]
abr 04, 2015 9:17:05 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
abr 04, 2015 9:17:05 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 1074 ms
abr 04, 2015 9:17:05 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
abr 04, 2015 9:17:05 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.0.17
09:17:09,206  INFO [VRaptorApplicationContext] Refreshing Root WebApplicationContext: startup date [Sat Apr 04 09:17:09 BRT 2015]; root of context hierarchy
09:17:09,547  INFO [VRaptorApplicationContext] Scanning WEB-INF/classes: C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes
09:17:09,569 DEBUG [ComponentScanner    ] scanning []
log4j:WARN No appenders could be found for logger (org.springframework.core.io.support.PathMatchingResourcePatternResolver).
log4j:WARN Please initialize the log4j system properly.
09:17:09,684 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\component\UsuarioLogado.class]
09:17:09,688 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\IndexController.class]
09:17:09,689 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\LoginController.class]
09:17:09,690 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\ProdutoController.class]
09:17:09,692 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\dao\ProdutoDao.class]
09:17:09,692 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\dao\UsuarioDao.class]
09:17:09,695 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\interceptor\LoginInterceptor.class]
09:17:09,746  INFO [VRaptorApplicationContext] Scanning packages from WEB-INF/classes and jars: [br.com.caelum.produtos]
09:17:09,746 DEBUG [ComponentScanner    ] scanning [br.com.caelum.produtos]
09:17:09,764 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\component\UsuarioLogado.class]
09:17:09,766 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\IndexController.class]
09:17:09,767 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\LoginController.class]
09:17:09,768 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\controller\ProdutoController.class]
09:17:09,770 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\dao\ProdutoDao.class]
09:17:09,771 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\dao\UsuarioDao.class]
09:17:09,773 DEBUG [ComponentScanner    ] Identified candidate component class: file [C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\produtos\WEB-INF\classes\br\com\caelum\produtos\interceptor\LoginInterceptor.class]
09:17:09,774  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.component.UsuarioLogado
09:17:09,774  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.controller.IndexController
09:17:09,774  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.controller.LoginController
09:17:09,775  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.controller.ProdutoController
09:17:09,775  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.dao.ProdutoDao
09:17:09,775  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.dao.UsuarioDao
09:17:09,775  WARN [ComponentScanner    ] bean already found previously, there is probably no need to declare its package in web.xml:br.com.caelum.produtos.interceptor.LoginInterceptor
09:17:09,783 DEBUG [VRaptorApplicationContext] Bean factory for Root WebApplicationContext: org.springframework.beans.factory.support.DefaultListableBeanFactory@20dc98a: defining beans [defaultDeserializers,asmBasedTypeCreator,defaultTypeNameExtractor,paranamerNameProvider,encodingHandlerFactory,objenesisProxifier,defaultMultipartConfig,defaultRouter,defaultAcceptHeaderToFormat,pathAnnotationRoutesParser,defaultRoutes,XStreamXMLDeserializer,defaultInterceptorRegistry,defaultResourceNotFoundHandler,defaultMethodNotAllowedHandler,defaultConverters,emptyElementsRemoval,noRoutesConfiguration,defaultResourceTranslator,defaultTypeFinder,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,XStreamXMLSerialization,defaultValidationViewsFactory,defaultMethodInfo,defaultHttpResult,ognlParametersProvider,outjectResult,defaultRefererResult,XStreamJSONSerialization,defaultPathResolver,defaultFormatResolver,defaultLogicResult,defaultResult,instantiateInterceptor,interceptorListPriorToExecutionExtractor,replicatorOutjector,multipartInterceptor,parametersInstantiatorInterceptor,flashInterceptor,executeMethodInterceptor,emptyResult,defaultPageResult,deserializingInterceptor,defaultStatus,jstlLocalization,applicationConfiguration,forwardToDefaultViewInterceptor,defaultRepresentationResult,downloadInterceptor,defaultValidator,resourceLookupInterceptor,bigDecimalConverter,bigIntegerConverter,booleanConverter,byteConverter,characterConverter,doubleConverter,enumConverter,floatConverter,integerConverter,localeBasedCalendarConverter,localeBasedDateConverter,longConverter,primitiveBooleanConverter,primitiveByteConverter,primitiveCharConverter,primitiveDoubleConverter,primitiveFloatConverter,primitiveIntConverter,primitiveLongConverter,primitiveShortConverter,shortConverter,uploadedFileConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,defaultInterceptorStack,defaultRequestExecution,usuarioLogado,indexController,loginController,produtoController,produtoDao,usuarioDao,loginInterceptor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.aop.config.internalAutoProxyCreator,cacheBasedTypeCreator]; root of factory hierarchy
09:17:10,229 DEBUG [VRaptorApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@41a87213]
09:17:10,236 DEBUG [VRaptorApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@18563c9e]
09:17:10,259 DEBUG [VRaptorApplicationContext] Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@123f3cbd]
09:17:10,433  INFO [DefaultConverters   ] Registering bundled converters
09:17:10,433 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BigDecimalConverter
09:17:10,433 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BigIntegerConverter
09:17:10,433 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BooleanConverter
09:17:10,433 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.ByteConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.CharacterConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.DoubleConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.EnumConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.FloatConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.IntegerConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LocaleBasedDateConverter
09:17:10,434 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LongConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveByteConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveCharConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveFloatConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveIntConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveLongConverter
09:17:10,435 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveShortConverter
09:17:10,436 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.ShortConverter
09:17:10,436 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.DefaultDeserializers
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.asm.AsmBasedTypeCreator
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.DefaultTypeNameExtractor
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ParanamerNameProvider
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.EncodingHandlerFactory
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.proxy.ObjenesisProxifier
09:17:10,536 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.DefaultMultipartConfig
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.DefaultRouter
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultAcceptHeaderToFormat
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.PathAnnotationRoutesParser
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultRoutes
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.XStreamXMLDeserializer
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.DefaultInterceptorRegistry
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.resource.DefaultResourceNotFoundHandler
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.resource.DefaultMethodNotAllowedHandler
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultConverters
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ognl.EmptyElementsRemoval
09:17:10,537 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.NoRoutesConfiguration
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.DefaultResourceTranslator
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.DefaultTypeFinder
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.ResourceHandler
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.ConverterHandler
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.InterceptorStereotypeHandler
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.DeserializesHandler
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.StereotypedBeansRegistrar
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.xstream.XStreamXMLSerialization
09:17:10,538 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultValidationViewsFactory
09:17:10,539 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultMethodInfo
09:17:10,539 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultHttpResult
09:17:10,539 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ognl.OgnlParametersProvider
09:17:10,539 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.OutjectResult
09:17:10,539 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultRefererResult
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.xstream.XStreamJSONSerialization
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultPathResolver
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.DefaultFormatResolver
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultLogicResult
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultResult
09:17:10,540 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.InstantiateInterceptor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.validator.ReplicatorOutjector
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.MultipartInterceptor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.FlashInterceptor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor
09:17:10,541 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.EmptyResult
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultPageResult
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.DeserializingInterceptor
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultStatus
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.JstlLocalization
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.config.ApplicationConfiguration
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.extra.ForwardToDefaultViewInterceptor
09:17:10,542 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.DefaultRepresentationResult
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.download.DownloadInterceptor
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.validator.DefaultValidator
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BigDecimalConverter
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BigIntegerConverter
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BooleanConverter
09:17:10,543 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.ByteConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.CharacterConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.DoubleConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.EnumConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.FloatConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.IntegerConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter
09:17:10,544 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LocaleBasedDateConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LongConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveByteConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveCharConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveFloatConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveIntConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveLongConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveShortConverter
09:17:10,545 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.ShortConverter
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.RequestInfo
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning interface br.com.caelum.vraptor.http.MutableRequest
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning interface br.com.caelum.vraptor.http.MutableResponse
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning interface javax.servlet.http.HttpSession
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultInterceptorStack
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultRequestExecution
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.component.UsuarioLogado
09:17:10,546 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.controller.IndexController
09:17:10,546 DEBUG [ResourceRegistrar   ] Found resource: class br.com.caelum.produtos.controller.IndexController
09:17:10,565 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for IndexController.index() as []
09:17:10,570 DEBUG [DefaultParametersControl] For / retrieved / with {}
09:17:10,573  INFO [RouteBuilder        ] /                                                            -> IndexController.index()
09:17:10,573 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.controller.LoginController
09:17:10,573 DEBUG [ResourceRegistrar   ] Found resource: class br.com.caelum.produtos.controller.LoginController
09:17:10,575 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for LoginController.formulario() as []
09:17:10,576 DEBUG [DefaultParametersControl] For /login/formulario retrieved /login/formulario with {}
09:17:10,576  INFO [RouteBuilder        ] /login/formulario                                            -> LoginController.formulario()
09:17:10,585 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for LoginController.autentica(Usuario) as [usuario]
09:17:10,585 DEBUG [DefaultParametersControl] For /login/autentica retrieved /login/autentica with {}
09:17:10,585  INFO [RouteBuilder        ] /login/autentica                                             -> LoginController.autentica(Usuario)
09:17:10,586 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.controller.ProdutoController
09:17:10,586 DEBUG [ResourceRegistrar   ] Found resource: class br.com.caelum.produtos.controller.ProdutoController
09:17:10,589 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.remove(Produto) as [produto]
09:17:10,590 DEBUG [DefaultParametersControl] For /produto/remove retrieved /produto/remove with {}
09:17:10,590  INFO [RouteBuilder        ] /produto/remove                                              -> ProdutoController.remove(Produto)
09:17:10,591 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.adiciona(Produto) as [produto]
09:17:10,591 DEBUG [DefaultParametersControl] For /produto/adiciona retrieved /produto/adiciona with {}
09:17:10,591  INFO [RouteBuilder        ] /produto/adiciona                                            -> ProdutoController.adiciona(Produto)
09:17:10,591 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.formulario() as []
09:17:10,592 DEBUG [DefaultParametersControl] For /produto/formulario retrieved /produto/formulario with {}
09:17:10,593  INFO [RouteBuilder        ] /produto/formulario                                          -> ProdutoController.formulario()
09:17:10,594 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.lista() as []
09:17:10,595 DEBUG [DefaultParametersControl] For /produto/lista retrieved /produto/lista with {}
09:17:10,596  INFO [RouteBuilder        ] /produto/lista                                               -> ProdutoController.lista()
09:17:10,597 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.dao.ProdutoDao
09:17:10,598 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.dao.UsuarioDao
09:17:10,598 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.produtos.interceptor.LoginInterceptor
09:17:10,598 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.produtos.interceptor.LoginInterceptor
09:17:10,598 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.context.annotation.ConfigurationClassPostProcessor
09:17:10,599 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor
09:17:10,599 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor
09:17:10,599 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor
09:17:10,599 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator
09:17:10,599 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.reflection.CacheBasedTypeCreator
09:17:10,601  INFO [VRaptor             ] VRaptor 3.1.1 successfuly initialized
abr 04, 2015 9:17:10 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-nio-8080"]
abr 04, 2015 9:17:10 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-nio-8009"]
abr 04, 2015 9:17:10 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 4934 ms
09:17:11,996 DEBUG [VRaptor             ] VRaptor received a new request
09:17:12,101 DEBUG [DefaultRequestExecution] executing stack  DefaultRequestExecution
09:17:12,276 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ResourceLookupInterceptor
09:17:12,277 DEBUG [DefaultResourceTranslator] trying to access /
09:17:12,300 DEBUG [DefaultResourceTranslator] found resource [DefaultResourceMethod: IndexController.indexIndexController.index()]
09:17:12,345 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor FlashInterceptor
09:17:12,358 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor InterceptorListPriorToExecutionExtractor
09:17:12,522 DEBUG [InstantiatedInterceptorHandler] Invoking interceptor LoginInterceptor
09:17:12,548 DEBUG [DefaultLogicResult  ] redirecting to class LoginController
09:17:12,722 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for LoginController.formulario() as []
09:17:12,723 DEBUG [AsmBasedTypeCreator ] Trying to make class for LoginController$formulario$830159187$1
09:17:12,744 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for LoginController.formulario() as []
09:17:12,745 DEBUG [AsmBasedTypeCreator ] Parameter names found for creating type are: []
09:17:12,746 DEBUG [AsmBasedTypeCreator ] Methods: []
09:17:12,746 DEBUG [AsmBasedTypeCreator ] Fields: []
09:17:12,746 DEBUG [CacheBasedTypeCreator] cached generic type for method [DefaultResourceMethod: LoginController.formularioLoginController.formulario()]
09:17:12,747 DEBUG [DefaultLogicResult  ] redirecting to /produtos/login/formulario
09:17:12,748 DEBUG [VRaptor             ] VRaptor ended the request
09:17:12,760 DEBUG [VRaptor             ] VRaptor received a new request
09:17:12,766 DEBUG [DefaultRequestExecution] executing stack  DefaultRequestExecution
09:17:12,771 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ResourceLookupInterceptor
09:17:12,771 DEBUG [DefaultResourceTranslator] trying to access /login/formulario
09:17:12,772 DEBUG [DefaultResourceTranslator] found resource [DefaultResourceMethod: LoginController.formularioLoginController.formulario()]
09:17:12,776 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor FlashInterceptor
09:17:12,777 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor InterceptorListPriorToExecutionExtractor
09:17:12,779 DEBUG [InstantiatedInterceptorHandler] Invoking interceptor InstantiateInterceptor
09:17:14,199 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ParametersInstantiatorInterceptor
09:17:14,199 DEBUG [ParametersInstantiatorInterceptor] Parameter values for [DefaultResourceMethod: LoginController.formularioLoginController.formulario()] are []
09:17:14,229 DEBUG [ToInstantiateInterceptorHandler] Invoking interceptor ExecuteMethodInterceptor
09:17:14,229 DEBUG [ExecuteMethodInterceptor] Invoking LoginController.formulario()
abr 04, 2015 9:17:14 AM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [default] in context with path [/produtos] threw exception
br.com.caelum.vraptor.InterceptionException: an exception was raised while executing resource method
    at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:86)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:77)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:42)
    at br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:80)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    at br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
    at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
    at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
    at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
    at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
    at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
    at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354)
    at br.com.caelum.produtos.controller.LoginController.criaUsuarioEProduto(LoginController.java:44)
    at br.com.caelum.produtos.controller.LoginController.formulario(LoginController.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:57)
    ... 44 more
Caused by: java.sql.SQLException: File input/output error app.db.properties java.io.FileNotFoundException: app.db.properties.new (Acesso negado)
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    ... 55 more

No Browser aparece :

HTTP Status 500 - an exception was raised while executing resource method


type Exception report

message an exception was raised while executing resource method

description The server encountered an internal error that prevented it from fulfilling this request.

exception
br.com.caelum.vraptor.InterceptionException: an exception was raised while executing resource method
    br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:86)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:77)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:42)
    br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:80)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
    br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
    br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)


root cause
org.hibernate.exception.GenericJDBCException: Cannot open connection
    org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
    org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
    org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
    org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
    org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354)
    br.com.caelum.produtos.controller.LoginController.criaUsuarioEProduto(LoginController.java:44)
    br.com.caelum.produtos.controller.LoginController.formulario(LoginController.java:71)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:57)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:77)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:42)
    br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:80)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
    br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
    br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)


root cause
java.sql.SQLException: File input/output error app.db.properties java.io.FileNotFoundException: app.db.properties.new (Acesso negado)
    org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    org.hsqldb.jdbcDriver.connect(Unknown Source)
    java.sql.DriverManager.getConnection(Unknown Source)
    java.sql.DriverManager.getConnection(Unknown Source)
    org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
    org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
    org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
    org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1354)
    br.com.caelum.produtos.controller.LoginController.criaUsuarioEProduto(LoginController.java:44)
    br.com.caelum.produtos.controller.LoginController.formulario(LoginController.java:71)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:57)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor.intercept(ParametersInstantiatorInterceptor.java:77)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InstantiateInterceptor.intercept(InstantiateInterceptor.java:42)
    br.com.caelum.vraptor.core.InstantiatedInterceptorHandler.execute(InstantiatedInterceptorHandler.java:47)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor.intercept(InterceptorListPriorToExecutionExtractor.java:46)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.FlashInterceptor.intercept(FlashInterceptor.java:80)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:67)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
    br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
    br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
    br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
    br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)


note The full stack trace of the root cause is available in the Apache Tomcat/8.0.17 logs.


Apache Tomcat/8.0.17
5 respostas

Baixe o projeto do curso, que está em http://s3.amazonaws.com/caelum-online-public/jstl/curso-jstl.zip.

Oi Ildo! Em qual sistema operacional você está desenvolvendo?Windows? O projeto persiste os dados em um arquivo (app.bd), mas aparentemente seu SO não está permitindo o acesso:

Caused by: java.sql.SQLException: File input/output error app.db.properties java.io.FileNotFoundException: app.db.properties.new (Acesso negado)

Experimente mudar o arquivo hibernate.properties de dentro do projeto para utilizar um banco em memória (os dados serão perdidos toda vez que você restartar o servidor, mas não existirá problemas de permissão). O hibernate.properties pode ficar assim:

hibernate.dialect org.hibernate.dialect.HSQLDialect
hibernate.connection.driver_class org.hsqldb.jdbcDriver
hibernate.connection.url jdbc:hsqldb:mem:app
hibernate.connection.username sa
hibernate.connection.password

hibernate.hbm2ddl.auto=update

Veja que a única mudança será na linha do hibernate.connection.url.

Bom dia Rodrigo!

Estou utilizando o Windows 8.1.

Após fazer a modificação apareceu o seguinte error:

abr 13, 2015 10:46:50 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:desenvolvimento-web-com-vraptor-4-master' did not find a matching property.
abr 13, 2015 10:46:50 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:gerenciador' did not find a matching property.
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version:        Apache Tomcat/8.0.17
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built:          Jan 9 2015 15:58:59 UTC
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number:         8.0.17.0
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name:               Windows 8.1
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version:            6.3
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture:          amd64
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JAVA_HOME:             C:\Program Files\Java\jre1.8.0_31
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version:           1.8.0_31-b13
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor:            Oracle Corporation
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE:         C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME:         C:\DEVELOPMENT\jars\apache-tomcat-8.0.17
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\DEVELOPMENT\jars\apache-tomcat-8.0.17
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=C:\DEVELOPMENT\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\DEVELOPMENT\jars\apache-tomcat-8.0.17\endorsed
abr 13, 2015 10:46:50 AM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252
abr 13, 2015 10:46:50 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\groovy-2.4.1\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0\bin;.
abr 13, 2015 10:46:51 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-nio-8080"]
abr 13, 2015 10:46:51 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
abr 13, 2015 10:46:51 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-nio-8009"]
abr 13, 2015 10:46:51 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFORMAÇÕES: Using a shared selector for servlet write/read
abr 13, 2015 10:46:51 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 2427 ms
abr 13, 2015 10:46:51 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
abr 13, 2015 10:46:51 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.0.17
abr 13, 2015 10:46:52 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFORMAÇÕES: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [171] milliseconds.
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
10:47:26,377  INFO [DefaultConverters   ] Registering bundled converters
10:47:26,392  INFO [DefaultConverters   ] Registering bundled converters
10:47:26,398 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.FloatConverter to class java.lang.Float
10:47:26,399 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveLongConverter to long
10:47:26,400 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveShortConverter to short
10:47:26,400 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveByteConverter to byte
10:47:26,401 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveIntConverter to int
10:47:26,402 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.DoubleConverter to class java.lang.Double
10:47:26,443 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor
10:47:26,474 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.ByteConverter to class java.lang.Byte
10:47:26,475 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.StringConverter to class java.lang.String
10:47:26,476 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.DateConverter to class java.util.Date
10:47:26,477 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.LongConverter to class java.lang.Long
10:47:26,478 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter to double
10:47:26,479 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.BooleanConverter to class java.lang.Boolean
10:47:26,481 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.FlashInterceptor
10:47:26,483 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.EnumConverter to class java.lang.Enum
10:47:26,484 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.BigIntegerConverter to class java.math.BigInteger
10:47:26,635 DEBUG [ControllerHandler   ] Found controller: {ControllerClass br.com.caelum.vraptor.controller.ProdutoController}
10:47:26,915 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.remove(br.com.caelum.vraptor.model.Produto) as [produto]
10:47:26,917 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.remove(br.com.caelum.vraptor.model.Produto) as [produto]
10:47:26,923 DEBUG [DefaultParametersControl] For /produto/remove retrieved /produto/remove with {}
10:47:26,927  INFO [DefaultRouteBuilder ] /produto/remove                                   [GET] -> public void br.com.caelum.vraptor.controller.ProdutoController.remove(br.com.caelum.vraptor.model.Produto)
10:47:26,930 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.listaToXML() as []
10:47:26,930 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.listaToXML() as []
10:47:26,931 DEBUG [DefaultParametersControl] For /produto/listaToXML retrieved /produto/listaToXML with {}
10:47:26,931  INFO [DefaultRouteBuilder ] /produto/listaToXML                               [ALL] -> public void br.com.caelum.vraptor.controller.ProdutoController.listaToXML()
10:47:26,932 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.formulario() as []
10:47:26,933 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.formulario() as []
10:47:26,933 DEBUG [DefaultParametersControl] For /produto/formulario retrieved /produto/formulario with {}
10:47:26,933  INFO [DefaultRouteBuilder ] /produto/formulario                               [GET] -> public void br.com.caelum.vraptor.controller.ProdutoController.formulario()
10:47:26,936 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto) as [produto]
10:47:26,936 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto) as [produto]
10:47:26,937 DEBUG [DefaultParametersControl] For /produto/adiciona retrieved /produto/adiciona with {}
10:47:26,937  INFO [DefaultRouteBuilder ] /produto/adiciona                                 [POST] -> public void br.com.caelum.vraptor.controller.ProdutoController.adiciona(br.com.caelum.vraptor.model.Produto)
10:47:26,938 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.lista() as []
10:47:26,938 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.lista() as []
10:47:26,938 DEBUG [DefaultParametersControl] For /produto/lista retrieved /produto/lista with {}
10:47:26,938  INFO [DefaultRouteBuilder ] /produto/lista                                    [GET] -> public void br.com.caelum.vraptor.controller.ProdutoController.lista()
10:47:26,939 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.sobre() as []
10:47:26,939 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for public void br.com.caelum.vraptor.controller.ProdutoController.sobre() as []
10:47:26,939 DEBUG [DefaultParametersControl] For /produto/sobre retrieved /produto/sobre with {}
10:47:26,940  INFO [DefaultRouteBuilder ] /produto/sobre                                    [GET] -> public void br.com.caelum.vraptor.controller.ProdutoController.sobre()
10:47:26,944 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveCharConverter to char
10:47:26,946 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.observer.upload.UploadedFileConverter to interface br.com.caelum.vraptor.observer.upload.UploadedFile
10:47:26,946 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.IntegerConverter to class java.lang.Integer
10:47:26,947 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.CalendarConverter to class java.util.Calendar
10:47:26,947 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.BigDecimalConverter to class java.math.BigDecimal
10:47:26,948 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveFloatConverter to float
10:47:26,949 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.CharacterConverter to class java.lang.Character
10:47:26,950 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.ShortConverter to class java.lang.Short
10:47:26,951 DEBUG [DefaultConverters   ] adding converter class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter to boolean
10:47:26,993 DEBUG [InterceptorStackHandlersCache] Caching br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor 
10:47:27,085 DEBUG [InterceptorStackHandlersCache] Caching br.com.caelum.vraptor.interceptor.FlashInterceptor 
abr 13, 2015 10:47:35 AM org.apache.catalina.core.StandardContext filterStart
GRAVE: Exception starting filter vraptor
javax.validation.UnexpectedTypeException: HV000030: No validator could be found for type: java.lang.Integer.
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.verifyResolveWasUnique(ConstraintValidatorManager.java:218)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.findMatchingValidatorClass(ConstraintValidatorManager.java:193)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintValidatorManager.getInitializedValidator(ConstraintValidatorManager.java:97)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:125)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateComposingConstraints(ConstraintTree.java:233)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:102)
    at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:91)
    at org.hibernate.validator.internal.metadata.core.MetaConstraint.validateConstraint(MetaConstraint.java:85)
    at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:478)
    at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:424)
    at org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:388)
    at org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:340)
    at org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:158)
    at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.validate(BeanValidationEventListener.java:137)
    at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.onPreInsert(BeanValidationEventListener.java:95)
    at org.hibernate.action.internal.EntityIdentityInsertAction.preInsert(EntityIdentityInsertAction.java:202)
    at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:91)
    at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:480)
    at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:191)
    at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:175)
    at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:210)
    at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:324)
    at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:288)
    at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:194)
    at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:125)
    at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:84)
    at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:206)
    at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:149)
    at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:75)
    at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:807)
    at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:780)
    at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:785)
    at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1181)
    at br.com.caelum.vraptor.observers.InitialDataObserver.insert(InitialDataObserver.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)
    at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
    at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)
    at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)
    at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:165)
    at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:119)
    at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:112)
    at org.jboss.weld.event.EventImpl.fire(EventImpl.java:83)
    at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:92)
    at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4553)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

abr 13, 2015 10:47:35 AM org.apache.catalina.core.StandardContext startInternal
GRAVE: Error filterStart
abr 13, 2015 10:47:35 AM org.apache.catalina.core.StandardContext startInternal
GRAVE: Context [/vraptor-produtos] startup failed due to previous errors
abr 13, 2015 10:47:35 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
ADVERTÊNCIA: The web application [vraptor-produtos] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
abr 13, 2015 10:47:35 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
GRAVE: The web application [vraptor-produtos] created a ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap] (value [org.apache.log4j.helpers.ThreadLocalMap@39dd531b]) and a value of type [java.util.Hashtable] (value [{}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
abr 13, 2015 10:47:36 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-nio-8080"]
abr 13, 2015 10:47:36 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-nio-8009"]
abr 13, 2015 10:47:36 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 44523 ms

Desde já agradeço;

solução!

Oi Ildo! Na sua classe de modelo, tem alguma anotação de validação em algum campo do tipo integer? O erro foi:

javax.validation.UnexpectedTypeException: HV000030: No validator could be found for type: java.lang.Integer.

Isso normalmente acontece quando tem alguma anotação de validação incompatível, como por exemplo usar o @NotEmpty em um Integer. Pode conferir isso?

Obrigado, identifiquei o problema. Esqueci de incluir o @Controller kkkk vlw .