美文网首页
Error:warning: Ignoring InnerCla

Error:warning: Ignoring InnerCla

作者: cmeiyuan | 来源:发表于2016-07-09 11:51 被阅读169次

    编译错误:

    Error:warning: Ignoring InnerClasses attribute for an anonymous inner class

    Error:(com.umeng.socialize.editorpage.d) that doesn't come with an

    Error:associated EnclosingMethod attribute. This class was probably produced by a

    Error:compiler that did not target the modern .class file format. The recommended

    Error:solution is to recompile the class from source, using an up-to-date compiler

    Error:and without specifying any "-target" type options. The consequence of ignoring

    Error:this warning is that reflective operations on this class will incorrectly

    Error:indicate that it is *not* an inner class.

    stack overflow上的回答:

    This is quite common when including jar files. Although the warning isn't anything to worry about if you are just using the API normally, you should be able to get rid of them by compiling ical4j yourself from source within Eclipse (either build a new jar, or just drop the source into your own source folder). Though I should stress that unless you actually get problems, this isn't something to worry about.

    总结: 

    不管它

    相关文章

      网友评论

          本文标题:Error:warning: Ignoring InnerCla

          本文链接:https://www.haomeiwen.com/subject/smirjttx.html