I have a maven application , when I run my application using xml-jetty I am getting the
Failed to read candidate component class, nested exception is ArrayStoreException error for
target/classes/com/test/SampleImpl class, I have seen the original SampleImpl.java file, I couldn’t find any errors related to that file. I did some research on this error, I found some suggestions related to changing java version
8 for spring, I changed java version to
8and spring version to
4.x bt still getting same error, then I added some spring dependencies in
dependency-management as suggested in other sites but still getting same error.
Note: I cant share my code