• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

type collides with a package -netbeans 6.5

 
Preethi Dev
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Preethi Dev
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please someone help me to solve this.


Thanks
Preetha
 
Preethi Dev
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is anyone there to help me?

Thanks
Preetha
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps nobody here knows the answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic