• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Gradle, error when creating java objects from XSD “EnumMemberSizeCap limit”, setup binding file.

 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After upgrade to spring boot 3, its recommended to use JAKARTA instead of javax

I must find a new way to generate java objects from XSD’ es

I have been recommended this plugin: 'org.unbroken-dome.xjc'

Gradle:



I have created a binding file like this:

Binding.xml:


To setup the typesafeEnumMaxMembers, emums, there is enums that has more values then 256.


I’m getting this error when executing my gradle file:
not mapped to Enum due to EnumMemberSizeCap limit. Facets count: 325, current limit: 256. You can use customization attribute "typesafeEnumMaxMembers" to extend the limit.

I've tried different things, but how do I get gradle to use this binding file?

 
Every snowflake is perfect and unique. And every snowflake contains a very tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic