• Post Reply Bookmark Topic Watch Topic
  • New Topic

Package importing problem  RSS feed

 
Ravi kapa
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,i created a simple web application and in that app it is having two packages when i am trying to import .class to from one package to another(i used import packagename)but it is saying that cant find symbol...can any one suggest me....
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make sure that the classes are available on the compilation class path.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi kapa wrote:i used import packagename

That should be either
import packagename.*;
or
import packagename.classname;
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!