Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Re: Project Dependancies
Re: Project Dependancies [message #484612] Tue, 08 September 2009 13:47 Go to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Copying this to the WTP newsgroup, eclipse.webtools

On 9/8/09 2:53 AM, Gilbert wrote:
> I have created a JPA project. I am now in the process of creating a Web
> Project to display/edit the entities in the JPA project. I've created
> the compile/build dependancies by adding the JPA project to the Project
> Tab of the Build Path of the web project. However, when I deploy my
> web-app to Tomcat, the server does not find any of the JPA project
> classes. How do I set up run-time dependancies so that the contents of
> my JPA project is passed to the server along with my Web Project?
>
> Regards
>
Re: Project Dependancies [message #484637 is a reply to message #484612] Tue, 08 September 2009 14:13 Go to previous message
Xavier Coulon is currently offline Xavier CoulonFriend
Messages: 58
Registered: July 2009
Member
Hello,

Did you check your JAR/Module in the "Java EE Module dependencies"
property page of your web-app ? Doing this should deploy your JPA project
on tomcat.
The "Java Build Path" property page is only used by Eclipse at compilation
time.

Regards,
Xavier

Eric Rizzo wrote:

> Copying this to the WTP newsgroup, eclipse.webtools

> On 9/8/09 2:53 AM, Gilbert wrote:
>> I have created a JPA project. I am now in the process of creating a Web
>> Project to display/edit the entities in the JPA project. I've created
>> the compile/build dependancies by adding the JPA project to the Project
>> Tab of the Build Path of the web project. However, when I deploy my
>> web-app to Tomcat, the server does not find any of the JPA project
>> classes. How do I set up run-time dependancies so that the contents of
>> my JPA project is passed to the server along with my Web Project?
>>
>> Regards
>>
Previous Topic:WTP Update site in Eclipse 3.3 gives consistent 503
Next Topic:Variable that point to webapps directory?
Goto Forum:
  


Current Time: Wed Apr 24 16:02:36 GMT 2024

Powered by FUDForum. Page generated in 0.02823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top