I have found that under some situations the jibx compiler makes
duplicate accessor class files which confuses eclipse.
The generated class files live in your normal bin or
(target/classes) folder for the project.
If you look in there you will see: *_access.class files and maybe
some *_access2.class or *_access3.class.
I found that if you see this then a full clean ties everything
back together. I was getting this with multiple projects.


On Thu, 11 Dec 2008 kartoffels...@gmx.net wrote:

> The eclipse-jibx-Plugin runs and does some sensible output (see below).
> However when I start the program I get jibx exceptions:
> Caused by: org.jibx.runtime.JiBXException: Unable to access binding   
> information for class ...
> Make sure classes generated by the binding compiler are available at runtime
>
> Running jibx with ant works. Where does the eclipse plugins put the   
> .class-files?
>
>
>
> (this is the output I'm getting)
>
> JiBX build begin @ Thu Dec 11 14:44:05 CET 2008
> JiBX incrementalBuild begin
> JiBX visit resource dirty: binding-achsecur-receipt-response.xml
> JiBX incrementalBuild did JibxDeltaVisitor result=true
> JiBX bindAll begin
> JiBX bindAll classpath:
>       .
>       /developement.xyz/web/WEB-INF/lib/XPOJ300.jar
>               ....
> JiBX parseMappedClasses begin
> JiBX parseMappedClasses watching these mapped classes:
>       
> /developement.cdk/web/WEB-INF/classes/com/card/model/response/Response.class
>       ...
> JiBX parseMappedClasses end
> JiBX doMappings end
> Running binding compiler version jibx_1_1_6
> binding wcresponse:
>  context (mp#=2) (cv#=0) (fm#=0)
>   mapping class com.model.response.Response to element CARD_BXML (#0)
>    context (cv#=0) (fm#=0)
>    element wrapper CARD_BXML
>     object binding for com.model.response.Response create class   
> com.payon.model.response.Response
>      structure ordered
>       element wrapper W_RESPONSE
>        structure unordered, flexible
>         element wrapper W_JOB optional structure object
>          structure unordered, flexible
>           element JobID from optional property jobId_ (java.lang.String)
>           element wrapper FNC_xx optional structure object
>            structure unordered, flexible
>             element FunctionID from property functionId_ (java.lang.String)
>             element wrapper xx_TRANSACTION
>              structure unordered, flexible
>               element TransactionID from property transactionId_   
> (java.lang.String)
>               element wrapper PROCESSING_STATUS
>                structure unordered, flexible
>                 element GuWID from property guwId_ (java.lang.String)
>                 element AuthorizationCode from optional property   
> authorizationCode_ (java.lang.String)
>                 element FunctionResult from property resultString_   
> (java.lang.String)
>                 element TimeStamp from property timestamp_ (java.lang.String)
> ...
> Generating code for mapping com.card.model.response.Response
> Wrote 93 files
> ...
>
>  com.card.model.response.JiBX_responseResponse_access output file   
> size is 1986 bytes
> Kept 216 files unchanged:
>  com.payon.card.model.response.Response
> Deleted 92 files:
>  com.card.model.response.JiBX_responseResponse_access2
> ...
> JiBX bindAll end
> JiBX incrementalBuild end
> JiBX build end @ Thu Dec 11 14:44:07 CET 2008
>
>
> JiBX build begin @ Thu Dec 11 14:44:11 CET 2008
> JiBX incrementalBuild begin
> JiBX incrementalBuild did JibxDeltaVisitor result=false
> JiBX incrementalBuild end
> JiBX build end @ Thu Dec 11 14:44:11 CET 2008
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit   
> allen: http://www.gmx.net/de/go/multimessenger
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>



Regards,
David
---------------------------------------
Managing Director
+44 (0) 7866 262 398
BigSoft Limited
Reading, UK
http://www.bigsoft.co.uk/
Registered in Cardiff, Wales 3960621


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to