Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Conversation

@sshamaia
Copy link

Problem:

The error message thrown by jaxb seems to be incorrect if the inner class name in jaxb.index file has. instead of $.

Exception:

[javax.xml.bind.JAXBException: error loading class

"d.innerclass" listed in a/b/c/jaxb.index, make sure that entries
are accessable on CLASSPATH and of the form "ClassName" or
"OuterClass.InnerClass", not "ClassName.class" or
"fully.qualified.ClassName"
- with linked exception:
[java.lang.ClassNotFoundException:

The message says to use OuterClass.InnerClass , however the correct format seems to be OuterClass$InnerClass. The separator for outclass.innerclass should be $ and not .

This change does not require build as this is error message change.

As this is my first commit, am not aware if anything else is required in this case.
Thanks in advance !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant