public class Excel{
public static void doWriteExcel(OutputStream os){
com.jxl.write.WritableWorkbook wwb = Workbook.createWorkbook(os);
}
public static void main(String args[]){
System.out.println("Excel Test..."
try{
File fileExcel = new File("Test.xsl"
fileExcel.createNewFile();
OutputStream osFile = new FileOutputStream(fileExcel);
}catch(Exception ex){
System.out.println("Error!"+ ex.getMessage());
}
doWriteExcel(osFile);
}
}
D:\JAVA\JCreator\JX\Excel.java:17: cannot access com.jxl.write.WritableWorkbook
bad class file: D:\JAVA\JCreator\JX\com\jxl\write\WritableWorkbook.class
class file contains wrong class: jxl.write.WritableWorkbook
Please remove or make sure it appears in the correct subdirectory of the classpath.
com.jxl.write.WritableWorkbook wwb = Workbook.createWorkbook(os);
^
1 error