Closed claussni closed 9 years ago
Using
for i in *.jar; do echo $i; jar xf $i; grep -i 'class-path' ./META-INF/MANIFEST.MF; done
inside lib directory prints only for file iText-2.1.5.jar
a needed class path correction
Alternate fix is adding -Xlint:-path
to compiler directive. Advantage of this is: no modifying of jar files. Disadvantage is deprecated and uncheck won't be checked anymore.
Edit: Adding
<compilerarg value="-Xlint:-path" />
as separate entry remove this warning. With this second compiler argument checks for deprecated and unchecked are not removed.
+1 for adding the -Xlint:-path
option. Better not to touch any old JAR there...
To remove this, we need to track down the troubled JARs and modify them: http://stackoverflow.com/questions/1344202/bad-path-warning-where-is-it-coming-from