POI 이미지 삽입하기.
String imagePath = "/var/www/html" + one.getImagePath(); final InputStream stream = new FileInputStream(imagePath); byte[] bytes = IOUtils.toByteArray(stream); final CreationHelper helper = rstWb.getCreationHelper(); final Drawing drawing = rstSt.createDrawingPatriarch(); final ClientAnchor anchor = helper.createClientAnchor(); anchor.setAnchorType( ClientAnchor.MOVE_AND_RESIZE ); final int pict..
Java/POI
2016. 10. 31. 13:51
The background cache eviction process was unable to free [10] percent of the cache for Context [] - consider increasing the maximum size of the cache. After eviction approximately [9,630] KB of data remained in the cache. 오류시.
The background cache eviction process was unable to free [10] percent of the cache for Context [] - consider increasing the maximum size of the cache. After eviction approximately [9,630] KB of data remained in the cache.context.xml에 추가
Java/Spring
2016. 10. 5. 13:23