-
Notifications
You must be signed in to change notification settings - Fork 9
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
Android2 - remove references to java.beans (issue #1) #2
base: android2
Are you sure you want to change the base?
Conversation
…de.openbeans (java.beans not supported on Android).
hi, i am using the jars provided in the libs folder, but i still get the error java.lang.NoClassDefFoundError: java.beans.Introspector . Where could i get the jar that has this replaced ? Please help. Thank you |
the stack trace if you could please help me out as to what to do: java.lang.NoClassDefFoundError: java.beans.Introspector |
Sir, i managed to get the class with reference to openbeans, but then this source code doesnot contain files to certain references such as: com.sun.xml.bind.v2.schemagen.xmlschema.TypeHost, and many others in the same package. Where do i get these files from? |
I'm glad you got it working, I don't use the com.sun.xml.bind.v2.schemagen.xmlschema package in my code for Android. Are you using JAXB to generate a schema within Android? |
This package contains to references to other classes that are not present in the package :(. I even tried removing the package, but it looked like this package was also referenced from other classes also, so i could not remove the package either. I am using jaxb to parse xmls that i receive as responses from webservice. It is easier converting xml to POJO using jaxb. By the way sir, where do i put the jaxb jar for android with the classes present in them, incase any one else might need it. |
This should resolve #1 by replacing the java.beans.Introspector references with com.googlecode.openbeans.Introspector. I added the openbeans jar to lib/redist folder and included it in the build_repackaged.xml file.