Hi,
 
I'm following the tutorial @
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACL

 

The bean definition for basicAclProviderManager is as below (copied from
tutorial)
<bean id="basicAclProviderManager" parent="txProxyTemplate">
        <property name="target">
           <bean
class="com.bmw.jcvs.service.acl.impl.BasicAclProviderManagerImpl"
autowire="byName" />
        </property>
</bean>
 
Now since I use Appfuse 1.9.4 (Spring 2.0), I defined it as follows
 
<bean id="basicAclProviderManager"
class="org.appfuse.service.acl.impl.BasicAclProviderManagerImpl"
autowire="byName >
 
However, I get the error below. Now the tutorial doesn't have a property
referencing a Dao, so I thought that we didn't need one. I thought
autowire=byName would work in this case. 
 
Please know that I'm a newbie and just learning all these tools and may
not really understand what's really needed. If someone could please
explain to me what's going on here and how to correct the issue, I'd
really appretiate it.

 

org.springframework.beans.factory.BeanCreationException: Error


creating bean with name 'basicAclProviderManager' defined in


ServletContext resource [/WEB-INF/applicationContext-service.xml]:


Invocation of init method failed; nested exception is


java.lang.IllegalArgumentException: basicAclDao required


Caused by:


java.lang.IllegalArgumentException: basicAclDao required
 
Thanks,

 

Vanessa Pacheco
Programmer
Bowman Systems L.L.C
318.213.8780x307 

 

======================================

IMPORTANT WARNING: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is strictly prohibited. If you
have received this message in error, please notify the sender immediately
and arrange for the return or destruction of these documents. 

 

Reply via email to