my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes cant import package from other module Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "cant import package from other module" Watch "cant import package from other module" New topic
Author

cant import package from other module

Jazon Din
Greenhorn

Joined: Jun 28, 2009
Posts: 3
Hello everyone,

I encountered a little problem here. Recently i was working on my JAVA EE project which consisted of Web and EJB project modules.
I decided to add a client-app as a module. The problem is that when i try to access packages from EJB, parser underlines the session bean reference i add.
Actually FIX IMPORTS doesn't help and adding "import session.connectionBean" too. Can anyone tell me how to properly integrate new modules into existing, please?


PS: i also added app-client using "ADD module..." into enterprice application. I checked the example customerCMP and it seems that everything is similar to it. Maybe i missed something.

Thanks,

Jazon
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Jazon,
Welcome to JavaRanch. This sounds like a very IDE specific question. What are you using? Eclipse, NetBeans, IntelliJ?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jazon Din
Greenhorn

Joined: Jun 28, 2009
Posts: 3
Jeanne Boyarsky wrote:Jazon,
Welcome to JavaRanch. This sounds like a very IDE specific question. What are you using? Eclipse, NetBeans, IntelliJ?



Netbeans

I prefer software from SUN. ( MySQL, Glassfish, Netbeans)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cant import package from other module