【发布时间】:2015-07-24 19:26:39
【问题描述】:
我正在尝试让 Rational Application Developer 项目在 websphere 服务器上运行。我正在尝试让maven-war-plugin 工作。但是,当尝试启动服务器时,websphere 找不到 UI 文件。我的插件在这里:
<build>
<outputDirectory>${project.basedir}\WebContent\WEB-INF\classes</outputDirectory>
<finalName>${project.name}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<webXml>/WebContent/WEB-INF/web.xml</webXml>
<webappDirectory>WebContent</webappDirectory>
<source>/codeCoverageUI2/src/</source>
<encoding>utf-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
我觉得问题出在我的webappDirectory 上,但除了我所有 UI 文件的位置之外,我不知道还能放什么。
有人有见解吗?
【问题讨论】: