I have a Java program when I compile it I get the following error
[javac] ...\\MyClass.java:33: package com.sun.image.codec.jpeg does not exist [javac] impor
Add the below configuration in pom.xml for this issue
org.apache.maven.plugins maven-compiler-plugin 3.8.1 1.7 1.7 UTF-8 ${java.home}/lib/rt.jar${path.separator}${java.home}/lib/javaws.jar${path.separator}${java.home}/lib/jce.jar
It works for me.