Hi,

My comment inline
-------------
Freeman Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-10-9, at 下午12:40, srini wrote:

> Hi Freeman, Thanks for the response. I have tried this option but still
> facing problems:
> 
> None of the beans are loading and the error is:
> nested exception is java.lang.NoClassDefFoundError:
> org/aopalliance/aop/Advice
> ...
> Caused by: java.lang.ClassNotFoundException: org.aopalliance.aop.Advice in
> classloader
> org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1ef55fb
>       at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> xbeans and spring config files are not inside SA zip file. They are referred
> from xbeans inside SA through import tag -- <import
> resource="file:c:/module/xbean.xml/>
You should always put xbean.xml in the SU which use it, so that the SA/SU 
bundle is self-contained or "Self standing", this is a good practice.
Anyway, did you already add
<classpath>
  <library>osgi:org.apache.servicemix.bundles.aopalliance</library>
</classpath>
in file:c:/module/xbean.xml as I mentioned before?
You better remove $SMX_HOME/data folder and restart smx so that any change 
could get picked up.
> 
> Could you please help?
> There are 2 flavours of smx4 available for download on apache website --
> default assmebly and JBI assembly. I have tried on both with no luck. Pls
> advise if I should be using only JBI assembly version.
Yes, you should use JBI assembly version in your case.
Freeman
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Failed-to-convert-property-value-to-required-type-org-aopalliance-aop-Advice-for-property-advice-tp5714672p5714675.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to