You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I m trying to serialize a class from a jar file that contains the logansquare annotated classes and getting the above exception.
Looking forward for your response ASAP
Thanks in advance.
The text was updated successfully, but these errors were encountered:
My first guess is that whatever process you used to jar up the files
striped the annotations, since they're compile-time annotations, not
runtime. You didn't really give any details though, so who knows.
I m trying to serialize a class from a jar file that contains the
logansquare annotated classes and getting the above exception.
Looking forward for your response ASAP
Thanks in advance.
—
Reply to this email directly or view it on GitHub #119.
Hi EricKuck,
I have created a sample project to make network requests and to make that i have to serialize my Request.java class which is annotated for logansquare. There is no problem in serializing it when the java class is present inside the src package but if i wrap the classes in a jar file and try using it by adding it as dependency in gradle then the exception is raised.
I don't see a sample project? Either way, the issue is almost certainly that apt isn't processing your jar file. I'm no apt expert and unfortunately I couldn't find anything about how to make it process jars. Can you maybe change the title of this issue to something related to apt not processing jar files so other people with more expertise might see it?
I m trying to serialize a class from a jar file that contains the logansquare annotated classes and getting the above exception.
Looking forward for your response ASAP
Thanks in advance.
The text was updated successfully, but these errors were encountered: