Hi all,

i am building some aspects to work with hibernate inside session beans.

I created an aspect factory that instantiates a Hibernate SessionFactory and 
it's createPerVm methos instantiates a SessionFactory, binds it to an Aspect 
that holds the reference to the SessionFactory.

The problem is that when I call the aopc task, it generates the following error:

     [aopc] org.jboss.aop.instrument.TransformationException: Failed to aspectiz
e class br.com.quickmind.framework.persistence.HibernateAspectFactory.  Could no
t find class it references net.sf.hibernate.cfg.Configuration

No method in this class is advisable considering my jboss-aop.xml.

The compiler visits all the methods of this class, successfuly classifing them 
as not advisable.

After the last method, the error message above is displayed.

I am using Jboss-aop 1.0 final, the download available at the jboss site.

Thanks,
Eduardo

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858389#3858389

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858389


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to