From the error message, the class
gogo.xmlbind.gogoAdmin.JiBX_BINDINGRequest_setType_access should be one
of the classes created by JiBX when it compiled your binding. Are you
perhaps not copying this created class file to your execution path?
- Dennis
[EMAIL PROTECTED] wrote:
Hello,
I have been building my JiBX mapping file for the last couple of days,
using org.jibx.extras.TestRoundtrip to make sure the mapping was OK.
NOW - I am trying to effectively run JiBX in a real piece of code,
following the example on the JiBX website. I get the following error
message I do not understand:-
java -classpath
"/home/j/project/XML/bin:/usr/java/jibx/lib/jibx-extras.jar:/usr/java/jibx/lib/jibx-run.jar:/usr/java/jibx/lib/jibx-bind.jar:/usr/java/jibx/lib/bcel.jar:/usr/java/jibx/lib/xpp3.jar:/usr/local/j/thirdparty/junit3.8/junit.jar:/usr/local/j/lib/unittest.jar:/usr/local/j/jdk1.4/jre/lib/ext/sunjce_provider.jar:/usr/local/j/jdk1.4/jre/lib/ext/dnsns.jar:/usr/local/j/jdk1.4/jre/lib/ext/ldapsec.jar:/usr/local/j/jdk1.4/jre/lib/ext/localedata.jar:/usr/local/j/jdk1.4/jre/lib/sunrsasign.jar:/usr/local/j/jdk1.4/jre/lib/jce.jar:/usr/local/j/jdk1.4/jre/lib/im/indicim.jar:/usr/local/j/jdk1.4/jre/lib/im/thaiim.jar:/usr/local/j/jdk1.4/jre/lib/jsse.jar:/usr/local/j/jdk1.4/jre/lib/charsets.jar:/usr/local/j/jdk1.4/jre/lib/plugin.jar:/usr/local/Jj/jdk1.4/jre/lib/rt.jar:/usr/local/j/jdk1.4/jre/javaws/javaws.jar:/usr/local/j/jdk1.4/lib/dt.jar:/usr/local/j/jdk1.4/lib/htmlconverter.jar:/usr/local/j/jdk1.4/lib/tools.jar"
com.gogo.xml.Untitled1
Exception in thread "main" org.jibx.runtime.JiBXException: Unable to
create unmarshaller of class
gogo.xmlbind.gogoAdmin.JiBX_BINDINGRequest_setType_access:
java.lang.ClassNotFoundException:
gogo.xmlbind.gogoAdmin.JiBX_BINDINGRequest_setType_access
at
org.jibx.runtime.impl.UnmarshallingContext.getUnmarshaller(UnmarshallingContext.java:2491)
at
org.jibx.runtime.impl.UnmarshallingContext.getUnmarshaller(UnmarshallingContext.java:2531)
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2608)
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2782)
at com.gogo.xml.Untitled1.main(Untitled1.java:77)
Can you see what is wrong? Thanks for your help as this is a bloking
problem.
-------------------------------------------------------
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
[email protected]
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_ide95&alloc_id396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users