loading xtenxls.lic file in junits

Thursday, July 10, 2014

In spring mvc, we are using xtenxls for downloading xls files. In application this process is fine but when running JUnits for downloading i am getting error like.



Missing license file: extenxls.lic
at com.extentech.a.a.<init>(Unknown Source)
at com.extentech.formats.XLS.ac.<init>(Unknown Source)
at com.extentech.ExtenXLS.WorkBookHandle.initBytes(Unknown Source)
at com.extentech.ExtenXLS.WorkBookHandle.a(Unknown Source)
at com.extentech.ExtenXLS.WorkBookHandle.initFromFile(Unknown Source)
at com.extentech.ExtenXLS.WorkBookHandle.initFromStream(Unknown Source)
at com.extentech.ExtenXLS.WorkBookHandle.<init>(Unknown Source).

Please help me. Thanks in advance






http://ift.tt/1xYwwCH