It happens because you have a public class PatientReferralPanel in 2
different .java files.

The bug before was because copies in .svn and CVS directories were
picked up, but that has been fixed. This is likely an error in your
application (unless you are using an old version, or there has been a
regression).

It appears that it is an error on your end though, note the package
does not match the directory:
com.alpha.patient.client.dbgui
com\alpha\patient\patientencounter\client\dbgui\

It's possible you also have a version in
com\alpha\patient\client\dbgui\

HTH,
Brett

On 8/10/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi,
> I found this issue mentioned earlier on the archive. I am having problems
> compiling my project. Maven2 gives me a duplicate class error as follows
> 
> no more tokens - could not parse error message: C:\Documents and
> Settings\rizwan
> .ALPHAGLOBE\UHM\source\com\alpha\patient\patientencounter\client\dbgui\Patie
> ntRe
> ferralPanel.java:55: duplicate class:
> com.alpha.patient.client.dbgui.PatientRefe
> rralPanel
> public class PatientReferralPanel extends JPanel {
> 
> 
> I looked for all instances of "PatientReferralPanel.class" on my computer
> and deleted them all. that didnt help. The archived message shown below
> indicates that this was classified as a bug at some point. Please could you
> tell me if there is an update on this issue? Am I having this problem
> because of the bug or am I doing something wrong?
> 
> Thanks,
> -Riz.
> 
> ----------------------------------------------------------------------------
> ---------------------------
> 
> 
> 
> This seems to be a bug... can you please file it in JIRA?
> 
> Thanks,
> Brett
> 
> On 4/20/05, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]>
> wrote:
> > When I check out the file for editing, CVS puts a copy of it in
> > CVS/Base. Then maven complains about duplicate class.
> > Is there a way to tell maven to ignore those extra files?
> > --------------------------------------------------------
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to