Error during code generation when class to modify is in an external artifact
----------------------------------------------------------------------------
Key: JIBX-460
URL: https://jira.codehaus.org/browse/JIBX-460
Project: JiBX
Issue Type: Bug
Components: maven plugin
Affects Versions: JiBX 1.2.3, JiBX 1.2.2
Environment: Fedora Core 14, x86_64, Java 1.6.0_22, maven 3.0.2
Reporter: Dimitri Koussa
Priority: Minor
Attachments: jibx-bind-error-test.tar.gz
I've set up a minimal maven project that reproduces this problem.
Unpack and run "mvn -e package".
If I move the enum to project "c" then it works without any issue.
The error I get is
{noformat}
Caused by: org.jibx.runtime.JiBXException:
*** Error during code generation for file 'binding.xml' - please enter a bug
report for this error in Jira if the problem is not listed as fixed on the
online status page ***
at org.jibx.binding.Utility.loadBinding(Utility.java:350)
at org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
at org.jibx.binding.Compile.compile(Compile.java:217)
at
org.jibx.maven.AbstractBaseBindingMojo.compile(AbstractBaseBindingMojo.java:152)
... 22 more
Caused by: org.jibx.runtime.JiBXException: Serializer AnEnum._jibx_serialize
not found
at
org.jibx.binding.def.StringConversion.setSerializer(StringConversion.java:393)
at
org.jibx.binding.def.ObjectStringConversion.derive(ObjectStringConversion.java:423)
at
org.jibx.binding.def.BindingBuilder.unmarshalValue(BindingBuilder.java:837)
at
org.jibx.binding.def.BindingBuilder.unmarshalStructureChildren(BindingBuilder.java:1035)
at
org.jibx.binding.def.BindingBuilder.unmarshalMapping(BindingBuilder.java:1847)
at
org.jibx.binding.def.BindingBuilder.unmarshalMappings(BindingBuilder.java:1170)
at
org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:2169)
at org.jibx.binding.Utility.loadBinding(Utility.java:300)
{noformat}
Seems to be similar to JIBX-287 but couldn't be sure as the error message was
different.
Let me know if you need any further information.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs