"Ignoring InnerClasses attribute" warning is killing Eclipse "Ignoring InnerClasses attribute" warning is killing Eclipse apache apache

"Ignoring InnerClasses attribute" warning is killing Eclipse


This was causing me a lot of pain with the android-maven-plugin and other libraries that included commons-logging. It was blocking my build. What made it worse is that some libraries were included transitively, so simply using <exclude> would not work. With a little hint from another post, I determined I could keep out the offending library altogether with something like this:

    <!-- prevent commons-logging from being included by the Google HTTP client         dependencies -->    <dependency>        <groupId>commons-logging</groupId>        <artifactId>commons-logging</artifactId>        <version>1.1.1</version>        <scope>provided</scope>    </dependency>


If you recompile the source of the libraries in Maven, you may need to update the Java version within the POMs to 1.6 (or whatever Java version you're using for your project). Just from looking at Sanselan, I note it specifically has 1.4 as the version.