[
https://jira.codehaus.org/browse/JIBX-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=282214#comment-282214
]
Don Corley commented on JIBX-460:
---------------------------------
Dimitri,
I'm have a problem untarring your file.
Could you re-attach your project as a zip file.
Can anyone else extract these files?
Thanks,
Don
> 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.2, JiBX 1.2.3
> 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
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs