【问题标题】:Include all Sun-proprietary classes包括所有 Sun 专有的类
【发布时间】:2016-06-30 21:46:26
【问题描述】:

我从 sf 收到了这个 project。如果我运行构建文件,我会收到错误:

...\workspace_neon\ssf\main\src\org\kablink\teaming\util\Thumbnail.java:50: 错误:com.sun.image.codec.jpeg 包不存在 [javac] 导入com.sun.image.codec.jpeg.ImageFormatException;

found 其他人遇到了类似的问题。如何运行 build.xml 文件以便 javac 使用选项 -XDignore.symbol.file 执行?

【问题讨论】:

    标签: java ant


    【解决方案1】:

    build file in which the errors occurs 中尝试这样的事情

                <javac ...>
                   ...  
                   <compilerarg value="-XDignore.symbol.file" />
                </javac>
    

    【讨论】:

      猜你喜欢
      • 2021-10-17
      • 2021-07-12
      • 1970-01-01
      • 2022-12-14
      • 2010-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多