Can two classes with the same co-exist?
- From: laredotornado <laredotornado@xxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 10:45:19 -0700 (PDT)
Hi,
I'm using Java 1.5 . I currently have two imports that use the same
class name:
import javax.faces.application.Application;
import com.myco.nps.im.dto.applications.Application;
Unsurprisingly, when I compile, I get the compilation error
[javac] /export/third-party/etsbea/staging/wls_9.2.2/
nps_config_gui/src/com/myco/npsconfig/jsf/controllers/
AddApplicationPage.java:27: javax.faces.application.Application is
already defined in a single-type import
[javac] import com.myco.nps.im.dto.applications.Application;
I didn't write either class but I need them both. Any way I can get
around this compilation error?
Thanks, - Dave
.
- Follow-Ups:
- Re: Can two classes with the same co-exist?
- From: Andreas Leitgeb
- Re: Can two classes with the same co-exist?
- From: Owen Jacobson
- Re: Can two classes with the same co-exist?
- From: Joshua Cranmer
- Re: Can two classes with the same co-exist?
- Prev by Date: Re: Concurrent, persistent background process for a J2EE container
- Next by Date: Re: Can two classes with the same co-exist?
- Previous by thread: Re: Concurrent, persistent background process for a J2EE container
- Next by thread: Re: Can two classes with the same co-exist?
- Index(es):
Relevant Pages
|