Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Re: Project Dependancies
Re: Project Dependancies [message #484612] Tue, 08 September 2009 09:47 Go to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2207
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 10:13 Go to previous message
Xavier Coulon is currently offline Xavier Coulon
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: Fri Aug 01 01:53:42 EDT 2014

Powered by FUDForum. Page generated in 0.01567 seconds