小弟在weblogic下上传图片时报这个错误,看网上有在startWeblgoic.sh中配置东西,但是我有另外一个环境,代码配置都一样,没有报错,还请大神帮忙看一下
<2015-12-31 涓..12??4?.5绉.CST> <Error> <HTTP> <BEA-101017>
<[ServletContext@158534201[app:my_info module:my_info path:/my_info spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@422cd301[POST /my_info/uploadFile.s?userCode=20120625222107067138714 HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg,
application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://10.1.244.25:7003/my_info/personInfoEditPage.s?userCode=MTExMTU1OTM@
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .
NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3)
Content-Type: multipart/form-data; boundary=---------------------------7df23024130bd0
Accept-Encoding: gzip, deflate
Content-Length: 4871
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: menhuSESSIONID=Gv1GWGnRnLRB4VnQ2LZRmlDt20192kQVJLn6nQwdZJR8XMzT41N0!-741842230;
JSESSIONID=Hp2QWGsQfK1M2Q1j2DKpLrjKsySHhr1Wvwd5Zkv4FvLnvFHTcGdf!-741842230;
ADMINCONSOLESESSION=RJJFWGsNGkLQS77JFnLTYdzyRTcL7jsDsBpZT1C1TkGmTnvnsM4G!-741842230
]] Root cause of ServletException.
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1135)
at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1125)
Truncated. see log file for complete stacktrace