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条)