This type of problem occurs when for some reason you have two copies of the class files and the wrong copy is modified (or a copy is being loaded by NetBeans before it runs the binding compiler - the run-bind step - and then kept even after the file is modified). I don't understand how this could be the case when you're running from the Ant build, but NetBeans may be doing something wierd. Does NetBeans do something like letting you set breakpoints in code run from Ant? If so, this could indicate it's playing classloading games behind the user's back.
I suggest you first run this from the command line in a console to verify that it works properly that way, then try to resolve why it fails in NetBeans. You may need to ask for help on a NetBeans list. I'd appreciate it if you let us know what you find out, though, since it may be a problem for other uses, too.
- Dennis
Giana Marco wrote:
Hi all,
I have just down loaded jibx.
I opened the tutorial examples in NetBeans. When I run example15 via the ant script I get the following error reported,
config15:
clean:
compile:
Compiling 4 source files to C:\Dokumente und Einstellungen\giana\My Documents\software\Java\XML\JiXB\jibx-beta3a\jibx\tutorial
run-bind:
run-example15:
org.jibx.runtime.JiBXException: Binding binding0 not found for class example15.Customer
at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:111)
at example15.BindingSelector.unmarshalVersioned(BindingSelector.java:204)
at example15.Test.main(Test.java:88)
example15:
BUILD SUCCESSFUL
Total time: 2 seconds
What does this mean and how can I get the example to run.
I thought that one could run this without having to do anything but just running the ant script.
Regards
Marco Giana
------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
