I have two Projects : Project A and Project B Project A have a Class Items, Which also have collection of same class Items.
Class Items {
private List list;
}
I have included Project A in Project B class path . Now Project B contains Jibx binding Configuartion, Now When I tried to bind Class Items in binding.xml of my project B.
<collection item-type="projectA.Items" field="items" usage="optional" create-type="java.util.ArrayList"/>
</mapping>
this may be due to an error in your binding or classpath, or to an error in the JiBX code * [bind] java.lang.IllegalStateException: Internal error - cannot modify class from project A jar.