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
{{ message }}
Repository navigation
java.lang.NoSuchMethodError: No static method newFactory() Ljavax/xml/stream/XMLInputFactory #283
I am working on an android app using semantic kernel and I have this issue that I have been battling for 2 days now. In the semantic kernel code, the use of the newFactory() static method for prompt parsing is the root cause. I think this is not needed and newInstance() can do the job.
Activity
karianna commentedon Feb 9, 2025
@samimejri Can you send in the snippet of code you're executing?
johnoliver commentedon Feb 11, 2025
@samimejri have you tried adding the stax-api dependency to your project:
johnoliver commentedon Feb 11, 2025
@samimejri yeah I agree moving it to newInstance should fix it
karianna commentedon Feb 12, 2025
Yes please!
karianna commentedon Feb 12, 2025
Can you fork this repo and create a PR?