本地运行正常,但是到了linux下运行却报找不到JDK中的类文件
yabcn 2016-03-09 05:12:40 org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.octo.captcha.service.image.DefaultManageableImageCaptchaService]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/ImageFormatExceptio
com/sun/image/codec/jpeg/ImageFormatExceptio
com/sun/image/codec/jpeg/ImageFormatExceptio这个是jdk中的rt.jar中的一个类,然后就把rt.jar放到项目lib下面,之后又报错了:org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.isoftstone.CaptchaEngine]: Constructor threw exception; nested exception is java.lang.UnsatisfiedLinkError: no jpeg in java.library.path
到底怎么弄啊,求大神解决