[ 
https://jira.codehaus.org/browse/JIBX-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Don Corley resolved JIBX-439.
-----------------------------

    Resolution: Fixed

Fixed will be included in 1.2.4 code.

> Jibx bindings not compiling separately in a Maven Multi Module project
> ----------------------------------------------------------------------
>
>                 Key: JIBX-439
>                 URL: https://jira.codehaus.org/browse/JIBX-439
>             Project: JiBX
>          Issue Type: Bug
>            Reporter: Umang Singh
>            Assignee: Don Corley
>            Priority: Blocker
>
> I have a project which is split in service & web module. So there are three 
> poms. Now when we package the poms the TestNG test cases run fine but when we 
> try to individually run the test cases it gives binding exception as below :
> Caused by: org.jibx.runtime.JiBXException: Unable to access binding 
> information for class com.hilton.search.ws.response.GeocodeResponse
> Make sure the binding has been compiled
>       at 
> org.jibx.runtime.BindingDirectory.getBindingList(BindingDirectory.java:75)
>       at 
> org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:211)
>       at 
> com.hilton.search.ws.rest.JibxHttpMessageConverter.afterPropertiesSet(JibxHttpMessageConverter.java:106)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
>       ... 83 more
> Caused by: java.lang.NoSuchFieldException: JiBX_bindingList
>       at java.lang.Class.getDeclaredField(Unknown Source)
>       at 
> org.jibx.runtime.BindingDirectory.getBindingList(BindingDirectory.java:68)
> The Binding compiler plugin & its configuration is in service pom & the class 
> is also in the service module so this should not be an issue.
> Could somebody help me on this as early as possible

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to