Suppress javac warning “…is internal proprietary API and may be removed in a future release”

前端 未结 7 1911
悲哀的现实
悲哀的现实 2020-11-30 08:09

When I compile the Spring JDBC source on OS X with JDK 1.7.0, I get this warning:

warning: CachedRowSetImpl is internal proprietary API and may be removed in         


        
7条回答
  •  渐次进展
    2020-11-30 08:46

    If you are using maven, you might be interested in adding the following to your pom.xml file:

    
        org.apache.maven.plugins
        maven-compiler-plugin
        
            -XDignore.symbol.file
        
    
    

提交回复
热议问题