quando digito uma palavra e vou fazer uma pesquisa da esse erro: HTTP Status 500 - java.lang.reflect.UndeclaredThrowableException
type Exception report
message java.lang.reflect.UndeclaredThrowableException
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.reflect.UndeclaredThrowableException com.gustavo.sistema.vendas.util.ConexaoHibernateFilter.doFilter(ConexaoHibernateFilter.java:45) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.55 logs.
e na console do eclipse aparece isso: nov 12, 2014 9:19:03 AM
org.apache.catalina.core.AprLifecycleListener init
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_25\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_25/bin/server;C:/Program Files/Java/jre1.8.0_25/bin;C:/Program Files/Java/jre1.8.0_25/lib/amd64;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_25\bin;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.2 & MySQL Utilities 1.5.2 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5.2 & MySQL Utilities 1.5.2 1.5\Doctrine extensions for PHP\;C:\Users\Gustavo\Downloads\eclipse-jee-luna-SR1-win32-x86_64\eclipse;;.
nov 12, 2014 9:19:04 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["http-bio-8080"]
nov 12, 2014 9:19:04 AM org.apache.coyote.AbstractProtocol init
INFORMAÇÕES: Initializing ProtocolHandler ["ajp-bio-8009"]
nov 12, 2014 9:19:04 AM org.apache.catalina.startup.Catalina load
INFORMAÇÕES: Initialization processed in 1909 ms
nov 12, 2014 9:19:04 AM org.apache.catalina.core.StandardService startInternal
INFORMAÇÕES: Starting service Catalina
nov 12, 2014 9:19:04 AM org.apache.catalina.core.StandardEngine startInternal
INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/7.0.55
nov 12, 2014 9:19:07 AM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
nov 12, 2014 9:19:07 AM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
nov 12, 2014 9:19:08 AM com.sun.faces.config.ConfigureListener contextInitialized
INFORMAÇÕES: Inicializando Mojarra 2.1.2 (FCS 20110613) para o contexto ''
nov 12, 2014 9:19:09 AM com.sun.faces.spi.InjectionProviderFactory createInstance
INFORMAÇÕES: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
nov 12, 2014 9:19:10 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deploying configuration descriptor C:\Users\Gustavo\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\sistema-vendas-java.xml
nov 12, 2014 9:19:10 AM org.apache.catalina.startup.SetContextPropertiesRule begin
ADVERTÊNCIA: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:sistema-vendas-java' did not find a matching property.
nov 12, 2014 9:19:10 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
ADVERTÊNCIA: [SetPropertiesRule]{Context/Loader} Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a matching property.
nov 12, 2014 9:19:12 AM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
nov 12, 2014 9:19:12 AM org.apache.catalina.startup.TaglibUriRule body
INFORMAÇÕES: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
nov 12, 2014 9:19:12 AM com.sun.faces.config.ConfigureListener contextInitialized
INFORMAÇÕES: Inicializando Mojarra 2.1.2 (FCS 20110613) para o contexto '/sistema-vendas-java'
nov 12, 2014 9:19:12 AM com.sun.faces.spi.InjectionProviderFactory createInstance
INFORMAÇÕES: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
220 [localhost-startStop-1] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
231 [localhost-startStop-1] INFO org.hibernate.cfg.Environment - Hibernate 3.6.7.Final
234 [localhost-startStop-1] INFO org.hibernate.cfg.Environment - hibernate.properties not found
239 [localhost-startStop-1] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
245 [localhost-startStop-1] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
380 [localhost-startStop-1] INFO org.hibernate.cfg.Configuration - configuring from resource: hibernate.cfg.xml
386 [localhost-startStop-1] INFO org.hibernate.cfg.Configuration - Configuration resource: hibernate.cfg.xml
600 [localhost-startStop-1] WARN org.hibernate.util.DTDEntityResolver - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
792 [localhost-startStop-1] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
882 [localhost-startStop-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.gustavo.sistema.vendas.cliente.Cliente
958 [localhost-startStop-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity com.gustavo.sistema.vendas.cliente.Cliente on table cliente
1043 [localhost-startStop-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.gustavo.sistema.vendas.produto.Produto
1044 [localhost-startStop-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity com.gustavo.sistema.vendas.produto.Produto on table produto
1050 [localhost-startStop-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: com.gustavo.sistema.vendas.venda.Venda
1050 [localhost-startStop-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity com.gustavo.sistema.vendas.venda.Venda on table venda
1082 [localhost-startStop-1] INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring
1092 [localhost-startStop-1] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
1103 [localhost-startStop-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
1103 [localhost-startStop-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 20
1103 [localhost-startStop-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
1107 [localhost-startStop-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost/sistemavendas
1108 [localhost-startStop-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=root, password=****}
1681 [localhost-startStop-1] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
1709 [localhost-startStop-1] INFO org.hibernate.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
1709 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Database ->
name : MySQL
version : 5.6.21-log
major : 5
minor : 6
1709 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Driver ->
name : MySQL-AB JDBC Driver
version : mysql-connector-java-5.1.8 ( Revision: ${svn.Revision} )
major : 5
minor : 1
1712 [localhost-startStop-1] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
1715 [localhost-startStop-1] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
1716 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
1716 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
1716 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
1716 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
1718 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
1718 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
1718 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 2
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
1720 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
1732 [localhost-startStop-1] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
1732 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
1733 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
1733 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
1733 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
1733 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
1737 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
1738 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
1742 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
1742 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
1742 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
1742 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
1742 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
1789 [localhost-startStop-1] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [clob] overrides previous : org.hibernate.type.ClobType@11cc0056
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Clob] overrides previous : org.hibernate.type.ClobType@11cc0056
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_materialized_blob] overrides previous : org.hibernate.type.WrappedMaterializedBlobType@17b07d39
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [blob] overrides previous : org.hibernate.type.BlobType@2b0a1424
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [java.sql.Blob] overrides previous : org.hibernate.type.BlobType@2b0a1424
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [characters_clob] overrides previous : org.hibernate.type.PrimitiveCharacterArrayClobType@44d5dc1e
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [wrapper_characters_clob] overrides previous : org.hibernate.type.CharacterArrayClobType@356aba62
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [materialized_blob] overrides previous : org.hibernate.type.MaterializedBlobType@21a74043
1804 [localhost-startStop-1] INFO org.hibernate.type.BasicTypeRegistry - Type registration [materialized_clob] overrides previous : org.hibernate.type.MaterializedClobType@5a77db67
2250 [localhost-startStop-1] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
2266 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - Running hbm2ddl schema update
2266 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - fetching database metadata
2266 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - updating schema
2344 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - table found: sistemavendas.cliente
2344 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - columns: [data_cadastro, endereco, cpf, nome, id, email, renda]
2344 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: []
2344 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [primary]
2438 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - table found: sistemavendas.produto
2438 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - columns: [estoque, data_cadastro, valor, unidade, id, descricao]
2438 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: []
2438 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [primary]
2469 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - table found: sistemavendas.venda
2469 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - columns: [id_cliente, data_venda, id, id_produto]
2469 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - foreign keys: [fk6ae685c3895985e, fk6ae685c7c6c2c61]
2469 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.TableMetadata - indexes: [fk6ae685c3895985e, fk6ae685c7c6c2c61, primary]
2469 [localhost-startStop-1] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - schema update complete
nov 12, 2014 9:19:15 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFORMAÇÕES: Deployment of configuration descriptor C:\Users\Gustavo\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\sistema-vendas-java.xml has finished in 5,173 ms
nov 12, 2014 9:19:15 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["http-bio-8080"]
nov 12, 2014 9:19:15 AM org.apache.coyote.AbstractProtocol start
INFORMAÇÕES: Starting ProtocolHandler ["ajp-bio-8009"]
nov 12, 2014 9:19:15 AM org.apache.catalina.startup.Catalina start
INFORMAÇÕES: Server startup in 10811 ms
nov 12, 2014 9:20:19 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute
ADVERTÊNCIA: #{registroVendas.buscarProduto}: java.lang.reflect.UndeclaredThrowableException
javax.faces.FacesException: #{registroVendas.buscarProduto}: java.lang.reflect.UndeclaredThrowableException
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.gustavo.sistema.vendas.util.ConexaoHibernateFilter.doFilter(ConexaoHibernateFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
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: javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 30 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy16.createQuery(Unknown Source)
at com.gustavo.sistema.vendas.produto.ProdutoDAOHibernate.pesquisarPorDescricao(ProdutoDAOHibernate.java:38)
at com.gustavo.sistema.vendas.produto.ProdutoRN.pesquisarPorNome(ProdutoRN.java:25)
at com.gustavo.sistema.vendas.venda.RegistroVendaBean.buscarProduto(RegistroVendaBean.java:30)
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.apache.el.parser.AstValue.invoke(AstValue.java:278)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:273)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 31 more
Caused by: java.lang.reflect.InvocationTargetException
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.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:345)
... 43 more
Caused by: java.lang.NoClassDefFoundError: antlr/ANTLRException
at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:58)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:98)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
... 48 more
Caused by: java.lang.ClassNotFoundException: antlr.ANTLRException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 55 more
nov 12, 2014 9:20:19 AM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet [Faces Servlet] in context with path [/sistema-vendas-java] threw exception [java.lang.reflect.UndeclaredThrowableException] with root cause
javax.servlet.ServletException: java.lang.reflect.UndeclaredThrowableException
at com.gustavo.sistema.vendas.util.ConexaoHibernateFilter.doFilter(ConexaoHibernateFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
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)