Vasily Sizov. Funky life.

Blog of IT manager, Java EE architect and developer more...

Friday, August 7, 2009

Solution for: «java.lang.VerifyError: (class: ..., method: toString signature: ()Ljava/lang/String;) Inconsistent stack height 1 != 0»

Here you can read about this problem in details: topic The solution is just place aop.xml in your META-INF directory.
<?xml version="1.0"?>
<aspectj>
    <weaver>
        <exclude within="*..*CGLIB*" />
    </weaver>

    <aspects>
        <aspect name="org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect"/>
        <aspect name="org.springframework.transaction.aspectj.AnnotationTransactionAspect"/>
    </aspects>
</aspectj>

0 comments:

Post a Comment