Thanks for helping me out
Today I have a very simple problem
Problem:
On my application startup, I am loading all the classes inside one package using
Class.forName("org.codehaus.jackson.JsonGenerator$Feature");
............................
............................ and so on
Like this I loaded all the classes, everything is fine, until I upgrade the Jar, so the Jar package is updated to some other package name, from org.codehaus.jackson
to com.fasterxml.jackson
. So I have to change class.forName
code.
Solution required: Is the following code is possible
Class.forName("com.fasterxml.jackson.*");
or there is any other way to load all the classes under one package?
please help :)