com.sun.image.codec.jpeg does not exist

  Bob
    maven编译时报错: com.sun.image.codec.jpeg does not exist          

    pom.xml文件中在编译插件处增加
    <compilerArgument>-XDignore.symbol.file</compilerArgument>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
    <source>1.7</source>
    <target>1.7</target>
    <compilerArgument>-XDignore.symbol.file</compilerArgument>
    <encoding>UTF-8</encoding>
    <compilerArguments>
    <extdirs>src\main\webapp\WEB-INF\lib</extdirs>
    </compilerArguments>
    </configuration>
    </plugin>




    如有疑问或同行交流欢迎加群讨论:铂金信息技术交流群 151258054