Eclipse error when generating JAXB classes

Sooo you’re trying to generate Java classes from your XSD schema and JAXB generation fails with no info? Oh yes it says “see the console” but in the console you see exactly one line with the xjc compiler version… no fun. And no combination of generation flags makes it better.

Well, turns out you just need to add some JAXB dependencies to your project! Useful anyway later, but you’d wish some minimal error reporting here…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.