at weblogic.servlet.jsp.JspWriterImpl.clear(JspWriterImpl.java:81)
解决方法,如下:
添加 response.reset(); 图片就能显示出来
去掉out.clear(); 防止报异常(tomcat下误删除)
问题二、Exception in thread "main" java.lang.AssertionError: JAX-WS 2.2 API is required, but an older version was found in the JDK.
Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/).
1) locate the bundled Java EE 6 endorsed directory in $WL_HOME/endorsed.
2) copy those JAR files to $JAVA_HOME/jre/lib/endorsed OR add the endorsed directory to the value specified by system property java.endorsed.dirs.
解决方法,如下:
1、第一步在D:\ProgramSoftware\weblogic\wls1212_dev\wls12120\oracle_common\modules\endorsed\目录下新增两个文件
jaxws-api-2.2.6.jar(http://grepcode.com/snapshot/repo1.maven.org/maven2/javax.xml.ws/jaxws-api/2.2.6)
jaxb-api-2.2.jar(http://www.java2s.com/Code/Jar/j/Downloadjaxbapi22jar.htm)
2、配置参数 -Djava.endorsed.dirs=D:\ProgramSoftware\weblogic\wls1212_dev\wls12120\oracle_common\modules\endorsed