Detecting class name conflicts and file version and file jar mismatches

In most cases, it will be difficult for developers to debug problems associated with class loading problems for the following reasons:

1. a class path can have two different banks with the same class having a different version. 2. Problems with loading classes.

Although we could use the jar utility to delve into each jar, it would be very tedious and error prone.

Is there a tool or some mechanism to solve such problems. Although loading classes is not easy in realism, let's say how weblogic will load classes on a specific ear file.

+3
source share
2

tattletale, ant, maven:

,

  • JAR
  • , / JAR
  • , JAR .
  • , JAR,
  • SerialVersionUID
  • JAR
  • JAR
  • JAR
  • JAR, /.
  • JAR
  • OSGi
  • API
+5

, Java .

, .

, , .

+3

Source: https://habr.com/ru/post/1725040/


All Articles