求救!上传图片错误,找不到javax.imageio.ImageIO类

thron
03-04-03 1 436

javax中根本就无此类,各位老兄的图片是如何上传的?
500 Servlet Exception
java.lang.NoClassDefFoundError: javax/imageio/ImageIO
at com.jdon.picture.ImgHandle.getImagSize(ImgHandle.java:120)
at com.jdon.picture.ImgHandle.CreateThumbnail(ImgHandle.java:78)
at com.jdon.picture.MultipartFormHandle.HandleUploadImg(MultipartFormHandle.java:155)
at com.jdon.picture.MultipartFormHandle.getForwardProgramParam(MultipartFormHandle.java:131)
at com.jdon.picture.MultipartFormServ.doPost(MultipartFormServ.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at com.caucho.server.http.Invocation.service(Invocation.java:277)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:216)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)


thron
2003-04-03 16:23

知道原因了,我用是不是JDK1。4