nkk1712
asked on
can not access .xlsx file in class path from jar
hi ,
the following code having some problem.
final Workbook workbook = new Workbook(ClassLoader.getSy stemResour ceAsStream ("test.xls x"));
how to achive this. this code working fine with my eclipse, but when packge the same i am getting the following ..
java.util.zip.ZipException : incomplete literal/length tree
the following code having some problem.
final Workbook workbook = new Workbook(ClassLoader.getSy
how to achive this. this code working fine with my eclipse, but when packge the same i am getting the following ..
java.util.zip.ZipException
See http://technojeeves.com/joomla/index.php/free/120-loading-files-as-resources-in-java-with-eclipse
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i am using maven to package.
i resloved this issue by changing in assembly.xml
i resloved this issue by changing in assembly.xml