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

Dúvida no Ex. 6 da Aula 3 - Controlando seus sistemas

Por favor estou com um problema, estou com esse erro em todas as pagina jsp ( A superclasse "javax.servlet.http.HttpServlet" não foi encontrado no Java Caminho de Construção ). Rodo meu Tomcat mais aparece o erro 404, sei que falta configurar alguma coisa mais não sei o que.

3 respostas
solução!

Você adicionou todas os jars no classpath?

Se usa maven pode estar faltando algo como:

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>                
    <version>3.1.0</version>
    <scope>provided</scope>
</dependency>

O melhor é você rever o vídeo que ensina a configurar e acompanhar passo a passo.

Essa mensagem de erro aparece onde? No código fonte?

o erro está aparecendo na pasta web-inf nos jsp's , segue erro no console:

set 08, 2015 12:25:42 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:vraptor-produtos' did not find a matching property.
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server version:        Apache Tomcat/7.0.63
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server built:          Jun 30 2015 08:08:33 UTC
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Server number:         7.0.63.0
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Name:               Windows 10
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: OS Version:            10.0
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Architecture:          amd64
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Java Home:             C:\Program Files\Java\jre1.8.0_60
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Version:           1.8.0_60-b27
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: JVM Vendor:            Oracle Corporation
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_BASE:         C:\Users\Pri\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: CATALINA_HOME:         C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.63
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\Users\Pri\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.63
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dwtp.deploy=C:\Users\Pri\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\apache-tomcat-7.0.63\endorsed
set 08, 2015 12:25:43 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252
set 08, 2015 12:25:43 PM 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_60\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_60/bin/server;C:/Program Files/Java/jre1.8.0_60/bin;C:/Program Files/Java/jre1.8.0_60/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\Java\jdk1.7.0_79\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\MySQL\MySQL Server 5.5\bin;;C:\Program Files\Java\jdk1.8.0_45\bin;C:\Users\Pri\.lein\bin;C:\Program Files\Java\eclipse-jee-luna-SR2-win32-x86_64\eclipse;;.
set 08, 2015 12:25:44 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8081"]
set 08, 2015 12:25:44 PM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-bio-8010"]
set 08, 2015 12:25:44 PM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 2320 ms
set 08, 2015 12:25:44 PM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
set 08, 2015 12:25:44 PM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.63
set 08, 2015 12:25:49 PM org.apache.catalina.startup.TldConfig execute
INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
12:25:49,911  INFO [BasicConfiguration  ] Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider
12:25:49,935  INFO [DefaultSpringLocator] No application context found
12:25:50,004  INFO [WebAppBootstrapFactory] No static WebAppBootstrap found.
12:25:50,005  INFO [BasicConfiguration  ] br.com.caelum.vraptor.scanning = null
12:25:50,193  INFO [AnnotationConfigWebApplicationContext] Refreshing Root WebApplicationContext: startup date [Tue Sep 08 12:25:50 BRT 2015]; root of context hierarchy
12:25:50,315  INFO [ClassPathBeanDefinitionScanner] JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
12:25:50,597  INFO [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]
12:25:50,776  INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2e16148e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,paranamerNameProvider,nullProxyInitializer,pathAnnotationRoutesParser,noRoutesConfiguration,defaultTypeNameExtractor,defaultResourceNotFoundHandler,defaultAcceptHeaderToFormat,topologicalSortedInterceptorRegistry,defaultDeserializers,defaultMethodNotAllowedHandler,defaultRestDefaults,interceptorListPriorToExecutionExtractor,defaultRouter,defaultInterceptorHandlerFactory,defaultResourceTranslator,defaultRoutes,defaultMultipartConfig,encodingHandlerFactory,objenesisProxifier,defaultTypeFinder,XStreamXMLDeserializer,defaultConverters,stereotypeHandler,converterHandler,interceptorStereotypeHandler,deserializesHandler,stereotypedBeansRegistrar,defaultSpringLocator,executeMethodInterceptor,defaultPageResult,defaultFormatResolver,servlet3MultipartInterceptor,defaultLogicResult,defaultMethodInfo,applicationConfiguration,defaultHttpResult,defaultPathResolver,jstlLocalization,XStreamJSONSerialization,flashInterceptor,nullBeanValidator,emptyElementsRemoval,parametersInstantiatorInterceptor,XStreamXMLSerialization,downloadInterceptor,defaultRefererResult,defaultStatus,ognlParametersProvider,defaultRepresentationResult,defaultValidator,forwardToDefaultViewInterceptor,HTMLSerialization,emptyResult,jsonDeserializer,deserializingInterceptor,defaultValidationViewsFactory,exceptionHandlerInterceptor,defaultExceptionMapper,resourceLookupInterceptor,XStreamJSONPSerialization,defaultRestHeadersHandler,outjectResult,defaultResult,replicatorOutjector,instantiateInterceptor,bigDecimalConverter,characterConverter,primitiveFloatConverter,localeBasedCalendarConverter,localeBasedDateConverter,stringConverter,shortConverter,primitiveIntConverter,primitiveDoubleConverter,primitiveBooleanConverter,bigIntegerConverter,doubleConverter,enumConverter,booleanConverter,integerConverter,floatConverter,longConverter,primitiveShortConverter,primitiveByteConverter,uploadedFileConverter,byteConverter,primitiveCharConverter,primitiveLongConverter,VRaptorRequestProvider,httpServletRequestProvider,httpServletResponseProvider,httpSessionProvider,enhancedRequestExecution,defaultInterceptorStack,org.springframework.aop.config.internalAutoProxyCreator,indexController,produtoController]; root of factory hierarchy
12:25:51,067  INFO [DefaultConverters   ] Registering bundled converters
12:25:51,068 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BigDecimalConverter
12:25:51,068 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.CharacterConverter
12:25:51,068 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveFloatConverter
12:25:51,068 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LocaleBasedDateConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.StringConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.ShortConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveIntConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BigIntegerConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.DoubleConverter
12:25:51,069 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.EnumConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.BooleanConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.IntegerConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.FloatConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.LongConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveShortConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveByteConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.ByteConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveCharConverter
12:25:51,070 DEBUG [DefaultConverters   ] bundled converter to be registered: class br.com.caelum.vraptor.converter.PrimitiveLongConverter
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.context.annotation.ConfigurationClassPostProcessor
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.InjectionBeanPostProcessor
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.context.annotation.CommonAnnotationBeanPostProcessor
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ParanamerNameProvider
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.NullProxyInitializer
12:25:51,213 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.PathAnnotationRoutesParser
12:25:51,214 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.NoRoutesConfiguration
12:25:51,214 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.DefaultTypeNameExtractor
12:25:51,214 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.resource.DefaultResourceNotFoundHandler
12:25:51,214 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultAcceptHeaderToFormat
12:25:51,214 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.TopologicalSortedInterceptorRegistry
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.DefaultDeserializers
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.resource.DefaultMethodNotAllowedHandler
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.restfulie.headers.DefaultRestDefaults
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.InterceptorListPriorToExecutionExtractor
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.DefaultRouter
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultInterceptorHandlerFactory
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.DefaultResourceTranslator
12:25:51,215 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultRoutes
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.DefaultMultipartConfig
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.EncodingHandlerFactory
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.proxy.ObjenesisProxifier
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.route.DefaultTypeFinder
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.XStreamXMLDeserializer
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultConverters
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.ResourceHandler
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.ConverterHandler
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.InterceptorStereotypeHandler
12:25:51,216 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.DeserializesHandler
12:25:51,218 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.StereotypedBeansRegistrar
12:25:51,218 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator
12:25:51,219 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor
12:25:51,219 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor
12:25:51,245 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultPageResult
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.DefaultFormatResolver
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.Servlet3MultipartInterceptor
12:25:51,246 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.multipart.Servlet3MultipartInterceptor
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultLogicResult
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultMethodInfo
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.config.ApplicationConfiguration
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultHttpResult
12:25:51,246 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultPathResolver
12:25:51,249 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.JstlLocalization
12:25:51,249 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.xstream.XStreamJSONSerialization
12:25:51,250 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.FlashInterceptor
12:25:51,250 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.FlashInterceptor
12:25:51,250 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.validator.NullBeanValidator
12:25:51,250 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ognl.EmptyElementsRemoval
12:25:51,250 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor
12:25:51,253 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ParametersInstantiatorInterceptor
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.xstream.XStreamXMLSerialization
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.download.DownloadInterceptor
12:25:51,253 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.download.DownloadInterceptor
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultRefererResult
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultStatus
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.http.ognl.OgnlParametersProvider
12:25:51,253 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.DefaultRepresentationResult
12:25:51,254 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.validator.DefaultValidator
12:25:51,254 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ForwardToDefaultViewInterceptor
12:25:51,254 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ForwardToDefaultViewInterceptor
12:25:51,254 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.HTMLSerialization
12:25:51,254 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.EmptyResult
12:25:51,254 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.deserialization.JsonDeserializer
12:25:51,256 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.DeserializingInterceptor
12:25:51,256 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.DeserializingInterceptor
12:25:51,257 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.view.DefaultValidationViewsFactory
12:25:51,257 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor
12:25:51,258 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ExceptionHandlerInterceptor
12:25:51,259 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultExceptionMapper
12:25:51,259 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor
12:25:51,259 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.serialization.xstream.XStreamJSONPSerialization
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.restfulie.headers.DefaultRestHeadersHandler
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.OutjectResult
12:25:51,260 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.OutjectResult
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultResult
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.validator.ReplicatorOutjector
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.InstantiateInterceptor
12:25:51,260 DEBUG [InterceptorStereotypeHandler] Found interceptor for class br.com.caelum.vraptor.interceptor.InstantiateInterceptor
12:25:51,260 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BigDecimalConverter
12:25:51,261 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.BigDecimalConverter
12:25:51,261 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.CharacterConverter
12:25:51,261 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.CharacterConverter
12:25:51,262 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveFloatConverter
12:25:51,262 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveFloatConverter
12:25:51,262 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter
12:25:51,262 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.LocaleBasedCalendarConverter
12:25:51,262 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LocaleBasedDateConverter
12:25:51,263 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.LocaleBasedDateConverter
12:25:51,263 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.StringConverter
12:25:51,263 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.StringConverter
12:25:51,264 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.ShortConverter
12:25:51,264 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.ShortConverter
12:25:51,264 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveIntConverter
12:25:51,265 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveIntConverter
12:25:51,265 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter
12:25:51,265 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveDoubleConverter
12:25:51,266 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter
12:25:51,266 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveBooleanConverter
12:25:51,266 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BigIntegerConverter
12:25:51,267 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.BigIntegerConverter
12:25:51,268 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.DoubleConverter
12:25:51,269 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.DoubleConverter
12:25:51,269 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.EnumConverter
12:25:51,269 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.EnumConverter
12:25:51,269 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.BooleanConverter
12:25:51,270 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.BooleanConverter
12:25:51,270 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.IntegerConverter
12:25:51,270 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.IntegerConverter
12:25:51,270 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.FloatConverter
12:25:51,271 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.FloatConverter
12:25:51,271 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.LongConverter
12:25:51,271 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.LongConverter
12:25:51,271 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveShortConverter
12:25:51,272 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveShortConverter
12:25:51,272 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveByteConverter
12:25:51,272 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveByteConverter
12:25:51,272 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
12:25:51,273 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.interceptor.multipart.UploadedFileConverter
12:25:51,273 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.ByteConverter
12:25:51,274 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.ByteConverter
12:25:51,274 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveCharConverter
12:25:51,275 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveCharConverter
12:25:51,275 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.converter.PrimitiveLongConverter
12:25:51,275 DEBUG [ConverterHandler    ] Ignoring handling default converter class br.com.caelum.vraptor.converter.PrimitiveLongConverter
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.RequestInfo
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning interface br.com.caelum.vraptor.http.MutableRequest
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning interface br.com.caelum.vraptor.http.MutableResponse
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning interface javax.servlet.http.HttpSession
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.EnhancedRequestExecution
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.vraptor.core.DefaultInterceptorStack
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning class org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator
12:25:51,276 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.online.loja.controlador.IndexController
12:25:51,276 DEBUG [ResourceHandler     ] Found resource: class br.com.caelum.online.loja.controlador.IndexController
12:25:51,293 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for IndexController.root() as []
12:25:51,304 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for IndexController.root() as []
12:25:51,307 DEBUG [DefaultParametersControl] For / retrieved / with {}
12:25:51,308  INFO [DefaultRouteBuilder ] /                                                 [ALL] -> IndexController.root()
12:25:51,308 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for IndexController.ajuda() as []
12:25:51,308 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for IndexController.ajuda() as []
12:25:51,308 DEBUG [DefaultParametersControl] For /ajuda retrieved /ajuda with {}
12:25:51,308  INFO [DefaultRouteBuilder ] /ajuda                                            [ALL] -> IndexController.ajuda()
12:25:51,309 DEBUG [StereotypedBeansRegistrar] scanning class br.com.caelum.online.loja.controlador.ProdutoController
12:25:51,309 DEBUG [ResourceHandler     ] Found resource: class br.com.caelum.online.loja.controlador.ProdutoController
12:25:51,319 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.adiciona(Produto) as [produto]
12:25:51,319 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.adiciona(Produto) as [produto]
12:25:51,319 DEBUG [DefaultParametersControl] For /produto/adiciona retrieved /produto/adiciona with {}
12:25:51,319  INFO [DefaultRouteBuilder ] /produto/adiciona                                 [POST] -> ProdutoController.adiciona(Produto)
12:25:51,319 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.lista() as []
12:25:51,319 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.lista() as []
12:25:51,319 DEBUG [DefaultParametersControl] For /produto/lista retrieved /produto/lista with {}
12:25:51,320  INFO [DefaultRouteBuilder ] /produto/lista                                    [ALL] -> ProdutoController.lista()
12:25:51,320 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.formulario() as []
12:25:51,320 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.formulario() as []
12:25:51,320 DEBUG [DefaultParametersControl] For /produto/formulario retrieved /produto/formulario with {}
12:25:51,320  INFO [DefaultRouteBuilder ] /produto/formulario                               [ALL] -> ProdutoController.formulario()
12:25:51,321 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.exibeComoXML(Long) as [id]
12:25:51,321 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.exibeComoXML(Long) as [id]
12:25:51,322 DEBUG [DefaultParametersControl] For /produto/{id}/xml retrieved /produto/(-?\d+)/xml with {id=-?\d+}
12:25:51,322  INFO [DefaultRouteBuilder ] /produto/{id}/xml                                 [ALL] -> ProdutoController.exibeComoXML(Long)
12:25:51,322 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.exibe(Long) as [id]
12:25:51,322 DEBUG [ParanamerNameProvider] Found parameter names with paranamer for ProdutoController.exibe(Long) as [id]
12:25:51,323 DEBUG [DefaultParametersControl] For /produto/{id} retrieved /produto/(-?\d+) with {id=-?\d+}
12:25:51,323  INFO [DefaultRouteBuilder ] /produto/{id}                                     [ALL] -> ProdutoController.exibe(Long)
12:25:51,324  INFO [VRaptor             ] VRaptor 3.3.1 successfuly initialized
set 08, 2015 12:25:51 PM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8081"]
set 08, 2015 12:25:51 PM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-bio-8010"]
set 08, 2015 12:25:51 PM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 7411 ms

Oi Priscila,

esse log que você enviou é um log padrão indicando que o TomCat subiu corretamente, com a sua aplicação.

O erro 404 (código para "página não encontrada") deve estar acontecendo porque, como a JSP API não está sendo reconhecida, o TomCat não consegue criar um objeto dela e, assim, não chega a produzir a página.

A resposta do Felipe me parece promissora. Você chegou a testá-la? Se funcionou, por favor, marque a resposta dele como correta. :-)

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software