X-Received: by 10.68.202.68 with SMTP id kg4mr15721737pbc.3.1358277405671; Tue, 15 Jan 2013 11:16:45 -0800 (PST) X-Received: by 10.50.87.165 with SMTP id az5mr1379125igb.1.1358277405445; Tue, 15 Jan 2013 11:16:45 -0800 (PST) Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!f6no227888pbd.1!news-out.google.com!6ni108652pbd.1!nntp.google.com!ld4no13781810pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Tue, 15 Jan 2013 11:16:45 -0800 (PST) In-Reply-To: <1e03d170-7029-4ee6-b935-ef77dfd629d4@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T NNTP-Posting-Host: 69.28.149.29 References: <1e03d170-7029-4ee6-b935-ef77dfd629d4@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: error: package jxl does not exist From: Lew Injection-Date: Tue, 15 Jan 2013 19:16:45 +0000 Content-Type: text/plain; charset=ISO-8859-1 Lines: 28 Xref: csiph.com comp.lang.java.programmer:21416 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