ClassNotFoundException when have reference to another project

2009-06-12 Thread ailinykh

Hello everybody!
I have simple GWT project. In servlet implementation I use class from
another Java project (it is regular class library).
Both of them are eclipse projects. Main project has reference to
library project, I can compile. But when I run it I get
ClassNotFoundException. If I export my library to jar file and put
that jar into WEB-INF/lib everything is fine. But my library project
is under development, I modify it frequently and wish my main project
picks up classes not jar file.
I tried to add library project to runtime class path, it helps when
run application locally, but if I upload application to google apps
engine I face the same problem.
What is the best way to handle this situation?

Thank you,
  Andrey

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: ClassNotFoundException when have reference to another project

2009-06-12 Thread Rajeev Dayal
Hi,

Good question! This is a known issue right now. Check this thread out for a
discussion:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9

Post back here if you have any other questions.


Rajeev

On Fri, Jun 12, 2009 at 9:47 AM, ailinykh ailin...@gmail.com wrote:


 Hello everybody!
 I have simple GWT project. In servlet implementation I use class from
 another Java project (it is regular class library).
 Both of them are eclipse projects. Main project has reference to
 library project, I can compile. But when I run it I get
 ClassNotFoundException. If I export my library to jar file and put
 that jar into WEB-INF/lib everything is fine. But my library project
 is under development, I modify it frequently and wish my main project
 picks up classes not jar file.
 I tried to add library project to runtime class path, it helps when
 run application locally, but if I upload application to google apps
 engine I face the same problem.
 What is the best way to handle this situation?

 Thank you,
  Andrey

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---