ClassNotFoundException javax.media.jai.OperationRegistrySpi but the class is there
问题 I have two similar projects working with Jai and one runs smoothly while the other stops when calling RenderedOp class from the jai_core.jar library, saying that it can't find the class OperationRegistrySpi. Both classes exist within that jar. RenderedOp imagen = JAI.create("stream",imgTif ); //This line throws the exception The log goes like this: GRAVE: >>java.lang.NoClassDefFoundError: javax/media/jai/OperationRegistrySpi >>java.lang.ClassNotFoundException: javax.media.jai