haamilton 25 de mar. de 2008
Cara…
Se o erro está na linha 16 é que alguma classe está faltando…
Dê uma atualizada nos seus jars… provavelmente é algum jar que está faltando…
rodrigo.fai 25 de mar. de 2008
haamilton:
Cara…
Se o erro está na linha 16 é que alguma classe está faltando…
Dê uma atualizada nos seus jars… provavelmente é algum jar que está faltando…
Intao kra…
os .jars que adicionei no meu lib são:
commons-logging-1.0.4.jar
ejb3-persistence.jar
firebirdsql-full.jar
freemarker-2.3.8.jar
hibernate3.jar
hibernate-annotations.jar
hibernate-entitymanager.jar
ognl-2.6.11.jar
struts2-core-2.0.6.jar
xwork-2.0.1.jar
ai estao os .jars do hibernate, struts 2 e o jdbc…
mas c estivesse faltando algum .jar o eclipse já acusaria na edição da classe, não??? Nem compilaria a classe…
haamilton 25 de mar. de 2008
Acusaria na ediação da classe se fosse houvesse uma dependência direta utilizada na criação da classe…
Mas existem casos de que um jar necessita de outro jar em um determinado momento…
Dê uma olhada no site do hibernate…
quais são os jar´s utilizados para uma aplicação…
E outra… atualize as versões dos jars do hibernate…
rodrigo.fai 25 de mar. de 2008
haamilton:
Acusaria na ediação da classe se fosse houvesse uma dependência direta utilizada na criação da classe…
Mas existem casos de que um jar necessita de outro jar em um determinado momento…
Dê uma olhada no site do hibernate…
quais são os jar´s utilizados para uma aplicação…
E outra… atualize as versões dos jars do hibernate…
blz!!!
adicionei alguns .jars que encontrei em um tutorial que ainda não tinha copiado!!! Deu certo… nao apareceu mais a msn de exception!!!
Porem, o servidor exibiu uma pagina de erro logo após efetuar o login do usuario, e nao consigo debugar p/ rastrear onde ocorre o erro…
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)
root cause
java . lang . reflect . InvocationTargetException
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 )
com . opensymphony . xwork2 . DefaultActionInvocation . invokeAction ( DefaultActionInvocation . java : 399 )
com . opensymphony . xwork2 . DefaultActionInvocation . invokeActionOnly ( DefaultActionInvocation . java : 262 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 224 )
com . opensymphony . xwork2 . interceptor . DefaultWorkflowInterceptor . doIntercept ( DefaultWorkflowInterceptor . java : 213 )
com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . validator . ValidationInterceptor . doIntercept ( ValidationInterceptor . java : 150 )
org . apache . struts2 . interceptor . validation . AnnotationValidationInterceptor . doIntercept ( AnnotationValidationInterceptor . java : 48 )
com . opensymphony . xwork2 . interceptor . MethodFilterInterceptor . intercept ( MethodFilterInterceptor . java : 86 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ConversionErrorInterceptor . intercept ( ConversionErrorInterceptor . java : 123 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ParametersInterceptor . intercept ( ParametersInterceptor . java : 161 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . StaticParametersInterceptor . intercept ( StaticParametersInterceptor . java : 105 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . interceptor . CheckboxInterceptor . intercept ( CheckboxInterceptor . java : 83 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . interceptor . FileUploadInterceptor . intercept ( FileUploadInterceptor . java : 207 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ModelDrivenInterceptor . intercept ( ModelDrivenInterceptor . java : 74 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ScopedModelDrivenInterceptor . intercept ( ScopedModelDrivenInterceptor . java : 127 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . interceptor . ProfilingActivationInterceptor . intercept ( ProfilingActivationInterceptor . java : 107 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . interceptor . debugging . DebuggingInterceptor . intercept ( DebuggingInterceptor . java : 206 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ChainingInterceptor . intercept ( ChainingInterceptor . java : 115 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . I18nInterceptor . intercept ( I18nInterceptor . java : 143 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . PrepareInterceptor . intercept ( PrepareInterceptor . java : 115 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . interceptor . ServletConfigInterceptor . intercept ( ServletConfigInterceptor . java : 170 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . AliasInterceptor . intercept ( AliasInterceptor . java : 123 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
com . opensymphony . xwork2 . interceptor . ExceptionMappingInterceptor . intercept ( ExceptionMappingInterceptor . java : 176 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 219 )
com . opensymphony . xwork2 . DefaultActionInvocation $ 2. doProfiling ( DefaultActionInvocation . java : 218 )
com . opensymphony . xwork2 . util . profiling . UtilTimerStack . profile ( UtilTimerStack . java : 455 )
com . opensymphony . xwork2 . DefaultActionInvocation . invoke ( DefaultActionInvocation . java : 216 )
org . apache . struts2 . impl . StrutsActionProxy . execute ( StrutsActionProxy . java : 50 )
org . apache . struts2 . dispatcher . Dispatcher . serviceAction ( Dispatcher . java : 507 )
org . apache . struts2 . dispatcher . FilterDispatcher . doFilter ( FilterDispatcher . java : 421 )
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.
Apache Tomcat/5.5.15
Sabe oq pode c???