Hi,

Did you also install the m2e-wtp integration that one normally uses with
Maven WAR projects inside the Eclipse/m2e space.

If not try to install it through Window/Preferences/Maven/Discovery.

Though it could be a problem also with this integration that the web.xml is
only present in the target folder.

But since I haven't yet used a setup like yours I'm not sure.

Regards,
Johannes
Am 01.11.2012 18:13 schrieb "Jeff" <[email protected]>:

> ...you'd think that would be the case, but it doesn't seem to be unless
> I'm missing something.  :(  We do have m2e installed and we took a very
> straight forward Maven project and did the "Import as existing Maven
> project...".
>
> We could deploy and debug locally before I added enunciate.
>
> If I copy the contents of the web.xml that enunciate generated into
> src/main/webapp/WEB-INF/web.xml, it works fine.
>
> The WAR file deploys to external servers and runs in Tomcat 6 just fine.
>
> Just not within Eclipse environment.
>
>
> On Thu, Nov 1, 2012 at 10:26 AM, Greg Thomas <[email protected]>wrote:
>
>> On 1 November 2012 16:21, Jeff <[email protected]> wrote:
>> > It's not Maven that can't find it.  I'm building and running the app in
>> our
>> > CD pipeline and in ... <cough>netbeans<cough>.  It is only an issue when
>> > attempting to run/debug within the eclipse environment.
>>
>> If you've got m2e installed, then if Maven knows where the correct
>> web.xml file is then m2e will tell Eclipse where the correct web.xml
>> is ...
>>
>> Greg
>> _______________________________________________
>> m2e-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>
>
>
>
> --
> Jeff Vincent
> [email protected]
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
> I ♥ DropBox <http://db.tt/9O6LfBX> !!
>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to