dcsimg
Problem with jar file
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rakesh_Gadre
Posted On:   Wednesday, May 17, 2006 10:51 AM

Hello, I am using Eclipse and have 2 projects in it. I create a jar file of project1 and use it in project2. The jar file of project1 is added in the path of project2. Now, the problem.. I have added some new code in one of the java programs of project1. The jar is created as usual. If i try to access the newly added code from project2, I get No Such Method exception.. If I expand the jar file from eclipse, I see the new function. If I decompile the respective class file, I see the new code. If I use reflection package and print the method names, I DO NOT SEE the enw method..    More>>

Hello,


I am using Eclipse and have 2 projects in it.


I create a jar file of project1 and use it in project2.


The jar file of project1 is added in the path of project2.



Now, the problem..



I have added some new code in one of the java programs of project1.


The jar is created as usual.



If i try to access the newly added code from project2, I get No Such Method exception..



If I expand the jar file from eclipse, I see the new function.


If I decompile the respective class file, I see the new code.


If I use reflection package and print the method names, I DO NOT SEE the enw method..



I am really confused and not sure where the problem is..


I am using JDK1.4, Eclipse 3.1, ANT 1.6.5



Thanks in advance


Rakesh

   <<Less
About | Sitemap | Contact