GeeCON Prague 2014*
The moose likes Java in General and the fly likes type collides with a package -netbeans 6.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "type collides with a package -netbeans 6.5" Watch "type collides with a package -netbeans 6.5" New topic
Author

type collides with a package -netbeans 6.5

Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
Hi Ranchers,

Here is my code structure,



when I tried to build this application it shows the exception as:

com.stc.codegen.framework.model.CodeGenException: Error compiling source: Error compiling source: ProCFoo.Bar:63,-1:Foo cannot be resolved to a type
ProCFoo.Bar:63,-1:Foo cannot be resolved to a type
ProCFoo.Bar:130,-1:The type Foo collides with a package
ProCFoo.Bar:484,-1:The type Faacollides with a package


I have checked with the imported jar files and found it correctly given.

could anyone please suggest me where it would be wrong?


Thanks in advance
Preetha
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 118
Did you tried changing package name ?
Did you see that no two classes from different package are clashing with each other ?
If you are using classes from jar then why you are rewriting them again ?
Where is your public class, does it exists ?


Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
Hi,

I tried to change the package name but it gives JNDI error.

since this migration project i have checked with the edesigner 5 which is built without any errors. when I tried to build it in netbeans i face this issue.
yes,I am not using jar files for these since it has written.



please help me to locate the problem.

Thanks
Preetha

Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
Please someone help me to solve this.


Thanks
Preetha
Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
is anyone there to help me?

Thanks
Preetha
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Perhaps nobody here knows the answer.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: type collides with a package -netbeans 6.5