Announcement Announcement Module
Collapse
No announcement yet.
Error creating bean with name '_flexRemotingAnnotationPostProcessor' Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error creating bean with name '_flexRemotingAnnotationPostProcessor'

    this is the error i got
    Error creating bean with name '_flexRemotingAnnotationPostProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.flex.config.json.JsonConfigMap PropertyEditor]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonFactory

    here is my config file
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    	   xmlns:flex="http://www.springframework.org/schema/flex"
    	   xmlns:security="http://www.springframework.org/schema/security"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="
    		http://www.springframework.org/schema/beans
    		http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    		http://www.springframework.org/schema/flex 
    		http://www.springframework.org/schema/flex/spring-flex-1.0.xsd
    		http://www.springframework.org/schema/security
    		http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
          
               
      	<flex:message-broker>
    		<flex:secured />
    	</flex:message-broker>
    	
    	<flex:message-broker>
    		<flex:remoting-service default-adapter-id="my-default-remoting-adapter" 
    	    default-channels="my-amf, my-secure-amf" />
    	</flex:message-broker>
    	
    	
    	
    	 <!-- Implementation of HomeInquiryDAO using Spring's JdbcTemplate -->
        <bean id="inquiryService" class="gov.fcc.inquiry.broadband.flex.dao.HomeInquiryDAOImpl" >
            <constructor-arg ref="jdbcTemplate"/>
        </bean>
        
          
    	<!-- Expose the HomeInquiryDAO bean for BlazeDS remoting -->
    	<flex:remoting-destination ref="inquiryService" /> 
    
    
       
        <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
    		<property name="jndiName" value="broadbandSource" />
    	</bean>
    
    	<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
    		<property name="dataSource" ref="dataSource" />
    	</bean>
        
    </beans>

  • #2
    You are missing the Jackson dependency from your classpath. Even if you are not using Ivy or Maven for your build, I would advise that you at the very least examine the ivy.xml or pom.xml for the project to understand the required dependencies.

    Comment

    Working...
    X