-2

Normally whats the reason to get java.lang.ClassCastException ..? I get the following error in my application java.lang.classCastException:org.sqlite.prepstmt cannot be cast to prepared statment

1
  • 1
    That is not an accurate rendition of the exception. Please be accurate. Commented Apr 11, 2015 at 12:01

1 Answer 1

1

you are casting one type of prepared statement to other. maybe you are using sqlite and casting to prepared statement of mysql? or from another library? take a look at your imports

Sign up to request clarification or add additional context in comments.

2 Comments

ok, how to solve it !?
look at your imports and remove the wrong one

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.