The following is probably too late to be useful.
In my foggy memory, my sense is that the exception error message for
the class format error identifies a class name. Under normal
conditions, it's not terribly hard to map a class name to a jar.
Personally, I use grep, because ZIP files (JAR files being ZIP files
in drag) have their contents in plain old greppable format. If all
else fails,
find ~/.m2/repository -name "*.jar" -exec grep com.whatever.Whoever
{} \; -print
will do the job.
So the sniffer is not in the business of helping with this case. As
now elaborated on this thread, the sniffer was invented to solve a
very particular problem that compiling with the source and target
options to javac, while it prevents format errors, isn't enough to
avoid new JRE dependencies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]