JDK class used by library not found, package name is incorrect
已回答
I'm having a strange problem. I am using a third party library that when run gets class not found exceptions for JDK classes, except that for some reason the package name has been prefixed, for example gj/awt/geom/Dimension2D$Double. I have not changed the library in a long time. The problem went away after I did several things including flushing the file system cache and rebuilding the application that used the library. Sorry I can't say exactly what helped because there were other problems I ran into. I'm curious to know how the package name could be altered. The library class files have the expected class name strings.
请先登录再写评论。
So, where is the code that could create that fully qualified class name, given that it does not appear in any source?
I did not change the library code at all. The problem was fixed by rebuilding after clearing the cache.