File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

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)
 
 
subject: cant import package from other module
 
Similar Threads
Best practices for setting up modules with interdependencies in CVS
Why the stubs are only present in EJB module & not in Web Module?
Accessing a java class in a web application through EJB
log4j.properties file for a project with multiple modules
How to launch Application Client from WSAD 4?