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
>
2 maven编译报错 duplicated in the reactor
原因是父pom.xml 中 模块重复导致