Announcement Announcement Module
Collapse
No announcement yet.
app server startup error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • app server startup error

    'lo all - Newbie issue-

    I'm getting this error upon startup of jboss4.0.1:

    Code:
    00:10:53,261 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountManager' defined in ServletContext resource [/WEB-INF/spring-biz.xml]: Initialization of bean failed; nested exception is org.aopalliance.aop.AspectException: null
    java.lang.IllegalStateException: Callback Lnet/sf/cglib/proxy/MethodInterceptor; is not assignable to Lnet/sf/cglib/proxy/MethodInterceptor;
    the config file (accountManager):

    Code:
      <bean id="accountManagerTarget" class="com.tll.biz.AccountManager">
        <property name="accountDao" ref="myAccountDao"/>
        <property name="assemblerManager" ref="assemblerManager"/>
      </bean>
      
      <bean id="accountManager" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
    		<property name="transactionManager" ref="transactionManager"/>
    		<property name="target" ref="accountManagerTarget"/>
    		<property name="transactionAttributes">
    			<props>
    				<prop key="create*">PROPAGATION_REQUIRED</prop>
    				<prop key="add*">PROPAGATION_REQUIRED</prop>
    				<prop key="load*">PROPAGATION_REQUIRED,readOnly</prop>
    				<prop key="save*">PROPAGATION_REQUIRED</prop>
    				<prop key="delete*">PROPAGATION_REQUIRED</prop>
    				<prop key="mark*">PROPAGATION_REQUIRED,-AssemblerException</prop>
    			</props>
    		</property>
    	</bean>
    any ideas? Thanks! - jon

  • #2
    Maybe you have two versions of cglib in your classpath?

    Comment

    Working...
    X