File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes unable to access classes in other projects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "unable to access classes in other projects" Watch "unable to access classes in other projects" New topic
Author

unable to access classes in other projects

victor regpala
Greenhorn

Joined: Dec 10, 2008
Posts: 5
Hi,

I'm having a problem trying to access class files from another project.
I'm using RSA and here are my projects:

Test - contains general java files. added to TestEAP as jar file(Test.jar)
TestEAP
TestWeb - contains all web related files

I'm trying to create a custom tag w/c is on the Test project. Basically what i want to happen is to be able to access classes in the Test project from my TestWeb project. I.ve already added the Test.jar as module dependency in TestWeb. Test is also in TestWeb's build path.

Below is the error i'm getting:
com.ibm.ws.jsp.translator.JspTranslationException: JSPG0227E: Exception caught while translating /WEB-INF/jsp/header.jsp: /WEB-INF/jsp/header.jsp(5,1) --> JSPG0009E: Unable to load tag handler class com.tags.MyTag

Thanks in advance! Hope you guys can help me.
Kanna Srini
Greenhorn

Joined: Dec 09, 2008
Posts: 2
Add Test.jar as part of the TestWeb.war , and check.

Thanks,
Kannapiran
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to access classes in other projects
 
Similar Threads
unable to access classes in other projects
Instantiating classes in jar file used by Web project
EAR file packaging and visibility
Problems with bean example
"Bad version number in .class file"