1 maven 編譯 報找不到到 com.sun.image.codec.jpeg.JPEGCodec
在maven的pom文件中的plugins加入
<
plugin
>
<
artifactId
>maven-compiler-plugin</
artifactId
>
<
configuration
>
<
encoding
>UTF-8</
encoding
>
<
compilerArguments
>
<
verbose
/>
<
bootclasspath
>${java.home}\lib\rt.jar</
bootclasspath
>
</
compilerArguments
>
</
configuration
>
</
plugin
>
原因是父pom.xml 中 模塊重複導致