I'm using the new jibx plugin with Eclipse 3.4 and the SpringIDE.

I have the following format tag in my binding:
 <format label="timestamp" type="org.joda.time.DateTime"
      serializer="com.company.Timestamps.serializeDate"
      deserializer="com.company.Timestamps.deserializeDate"
/>

When the plugin tries to do the binding, I get this:
Running binding compiler version jibx_1_1_6
Error: Static serializer method
com.uprr.apps.ice.render.Timestamps.serializeDate not found; on format
element at (line 6, col 3, in carevent-binding.xml)
Error: Static deserializer method
com.uprr.apps.ice.render.Timestamps.deserializeDate not found; on format
element at (line 6, col 3, in carevent-binding.xml)

Which is odd, since I assuredly have Timestamps class in my project and have
the unit tests to prove it.

Why isn't the plugin finding the format methods in my code?

-- 
Mike Hostetler
http://mike.hostetlerhome.com/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to