Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.bluelinelabs.logansquare.NoSuchMapperException: Class com.networkgenerator.model. #119

Open
harikumar1020 opened this issue Nov 30, 2015 · 3 comments
Labels

Comments

@harikumar1020
Copy link

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.

@EricKuck
Copy link
Member

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.

On Mon, Nov 30, 2015, 3:26 AM harikumar1020 notifications@github.com
wrote:

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.

@harikumar1020
Copy link
Author

sdgsf.txt

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.

@EricKuck
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants