程序包com.sun.image.codec.jpeg不存在解决方法
2019-06-05 07:02
2506 查看
场景:
在 mvn clean package -Dmaven.test.skip=true
打包失败,报错信息为: 程序包com.sun.image.codec.jpeg不存在解决方法
解决:
在对应的pom.xml文件下的插件中添加 compilerArguments
属性即可.
<build> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <configuration> <source>7 <target>7</target> <compilerarguments> <bootclasspath> ${java.home}/lib/rt.jar${path.separator}${java.home}/lib/javaws.jar${path.separator}${java.home}/lib/jce.jar </bootclasspath> </compilerarguments> </configuration> </plugin> </plugins> </build>
原因: 请路人补充:大神应该不会看到这个的,能发生这个错误一般是老项目了.加上即可.
(adsbygoogle = window.adsbygoogle || []).push({});相关文章推荐
- 程序包com.sun.image.codec.jpeg不存在解决方法
- 【转】程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- maven 程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- maven 程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- 【转】程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- 程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- 程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- 程序包com.sun.image.codec.jpeg不存在 问题的完美解决
- maven项目编译:程序包com.sun.image.codec.jpeg不存在 这个类文件的位置在jre/lib/rt.jar
- cloudstack源码部署时提示程序包com.sun.image.codec.jpeg不存在
- maven 程序包com.sun.image.codec.jpeg不存在的解决方案
- maven项目编译时报‘程序包com.sun.image.codec.jpeg不存在’错误
- 关于无法找到 com.sun.image.codec.jpeg 的解决方法
- 使用ANT编译项目报错 com.sun.image.codec.jpeg does not exist 解决方法
- 使用ANT编译项目报错 com.sun.image.codec.jpeg does not exist 解决方法
- maven下面编译失败,失败提示信息为:程序包com.sun.image.codec.jpeg不存在
- 使用ANT编译项目报错 com.sun.image.codec.jpeg does not exist 解决方法
- 【javaee】maven:程序包com.sun.image.codec.jpeg不存在
- maven 程序包com.sun.image.codec.jpeg不存在的解决方案
- maven项目编译:程序包com.sun.image.codec.jpeg不存在 这个类文件的位置在jre/lib/rt.jar