Eclipse Dynamic Web Project - Webfragment project jar only added when webfragment project is closed - Stack Overflow

I have 2 projects, a web-fragment project (ui-cmn, packaged as 'jar') and a "Dynamic Web

I have 2 projects, a web-fragment project (ui-cmn, packaged as 'jar') and a "Dynamic Web Project" (ui-ord, packaged as 'war')

Now when the project ui-cmn is closed and i click "add or remove" on my tomcat, the ui-cmn is shown as part of ui-ord and the ui-ord jar file exists in \wtpwebapps\ui-ord\WEB-INF\lib

BUT when i open the ui-cmn project, the ui-cmn entry no longer exists and also the ui-cmn jar file does no longer get added to the WEB-INF\lib

I use maven and the ui-ord has a dependency on ui-cmn. They are both in the same parent project, which isn't opened in eclipse.

the web-fragment.xml in ui-cmn starts with

<web-fragment xmlns=";
    xmlns:xsi=";
    xsi:schemaLocation=" .xsd"
    version="3.0">

And the web.xml of the ui-ord project with

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns=";
    xmlns:xsi=";
    xsi:schemaLocation=" .xsd">

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744212663a4563408.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信