I suspect you've got an Eclipse classpath problem. Make sure that
Eclipse is loading the classes from the same place that has the modified
version of the classes. Aside from that, HbmIssue *does* have a
top-level (direct child of the <binding> element) <mapping> definition,
right?
- Dennis
Dmitry wrote:
First, thank you all who answered the question regarding the eclipse plugin
and ant tasks.. Thanks!!
I have a new problem now. I'm at the point where I'm trying to test if any
of my mappings will actually work. I've copied the code (modified ..)
IBindingFactory bfact =
BindingDirectory.getFactory(HbmIssue.class);
into my project. But when I get to run this line I get this error:
Unable to access binding information for class
com.beacon.secmaster.db.persistent.HbmIssue
Make sure classes generated by the binding compiler are available at runtime
I do have a new .class file with a long name in my class directory which was
definitely generated by JiBX. Is it looking for that file? Why can't it
find it? It's in the same directory where the HbmIssue is and I can see that
HbmIssue.class was also modified (cause it's size and timestamp differs from
the original time/size when it was compiled. (Of course I ran the JiBX
binding compiler after that..)
So anybody seen this error and knows how to fix it?
I'm running Eclipse and I'm running the code from within it. I think those
filea are in the classpath because they sit in the same package directory.
BTW, what package name is being assigned to the classes generated by JiBX
are they the same as the class we are binding? If not, that may explain why
those classes are not found. But I assume they are the same..
Any help is apreciated
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users