olá pessoa Sou iniciante em flex estou tentando integrar flex com
java, estava tentando fazer o exemplo de integração de Rodrigo Fraga,
http://blog.digows.com/integrando-adobe ... e-2-final/

Mas ao tentar rodar a aplicação acorre o seguinte erro

SEVERE: Exception sending context initialized event to listener
instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.orm.hibernate3.LocalSessionFactoryBean]:
Constructor threw exception; nested exception is
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean
(AbstractAutowireCapableBeanFactory.java:883)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance
(AbstractAutowireCapableBeanFactory.java:839)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean
(AbstractAutowireCapableBeanFactory.java:440)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory
$1.getObject(AbstractBeanFactory.java:264)
   at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:221)
   at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:261)
   at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
   at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
   at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFactory.java:423)
   at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization
(AbstractApplicationContext.java:729)
   at
org.springframework.context.support.AbstractApplicationContext.refresh
(AbstractApplicationContext.java:381)
   at
org.springframework.web.context.ContextLoader.createWebApplicationContext
(ContextLoader.java:255)
   at
org.springframework.web.context.ContextLoader.initWebApplicationContext
(ContextLoader.java:199)
   at
org.springframework.web.context.ContextLoaderListener.contextInitialized
(ContextLoaderListener.java:45)
   at org.apache.catalina.core.StandardContext.listenerStart
(StandardContext.java:3934)
   at org.apache.catalina.core.StandardContext.start
(StandardContext.java:4429)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
   at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
   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.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.BeanInstantiationException: Could
not instantiate bean class
[org.springframework.orm.hibernate3.LocalSessionFactoryBean]:
Constructor threw exception; nested exception is
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
   at org.springframework.beans.BeanUtils.instantiateClass
(BeanUtils.java:115)
   at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate
(SimpleInstantiationStrategy.java:61)
   at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean
(AbstractAutowireCapableBeanFactory.java:877)
   ... 31 more
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
   at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:151)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.class$
(LocalSessionFactoryBean.java:174)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.<init>
(LocalSessionFactoryBean.java:174)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at org.springframework.beans.BeanUtils.instantiateClass
(BeanUtils.java:100)
   ... 33 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
   at org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1387)
   at org.apache.catalina.loader.WebappClassLoader.loadClass
(WebappClassLoader.java:1233)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   ... 43 more
31/08/2009 03:38:54 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
31/08/2009 03:38:54 org.apache.catalina.core.StandardContext start
SEVERE: Context [/Locadora] startup failed due to previous errors
31/08/2009 03:38:54 org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
31/08/2009 03:38:55 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
31/08/2009 03:38:55 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
31/08/2009 03:38:55 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=null
31/08/2009 03:38:55 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2008 ms

Será que alguem pode me ajudar?
--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para flexdev@googlegroups.com
Para sair da lista, envie um email em branco para 
flexdev-unsubscr...@googlegroups.com
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---

Responder a