java - 使用 eclipse IDE 在 weblogic 服务器中发布项目时出错

标签 java eclipse weblogic

我在 WebLogic 服务器(使用 Eclipse IDE)中发布项目时遇到以下错误。

 Error with publish task 'Split Source Mapping Generation Task'.
 Error processing split source mapping:
 'C:/Projects/EnrollmentWS/implementation/lib'='/WEB-INF/lib'

 WebLogic split source deployment only supports resource folder mapping to EAR or 
 web content root.
 Please change the deployment mode to exploded archive in Server Editor.
 Note: I tried after change deployement mode to explode archive.now im getting 'module
 exception'  

提前致谢。

最佳答案

可能已经解决了这个问题。我认为出现该错误消息是因为部署程序集中并非支持所有映射。

请右击网页项目:

Properties -> Deployment Assembly

并删除/WEB-INF/lib 行。

Here is解释:

If you are mapping external folders to web resources in Deployment Assembly, NOT all the mappings are supported, only resource folder mapping to EAR or web content root are supported in split source. (In your case, mapping to '/WEB-INF/classes/' should be supported, which is a bug we will fix in future release)

关于java - 使用 eclipse IDE 在 weblogic 服务器中发布项目时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11756243/

相关文章:

java - JPA 删除失败(违反完整性约束 : foreign key no action) - data model too convoluted?

Java 变量最终

eclipse - 用于逆向工程 Eclipse 项目的 UML 工具

eclipse - Spring Boot、Spring Loaded、Eclipse、Maven 基本示例

java - 将 JavaEE 应用程序角色映射到 weblogic 安全角色

java - Android:拖放按钮(按钮消失;按钮的位置)

java - Eclipse Luna,Google Web Kit - 创建 GWT RemoteService

java - 配置重新加载后 Logback 停止记录

java - 运行 Weblogic12.2.1.2.0 时出错 : Weblogic installation registry file is not found

java - Netbeans 8.1 和 Java - 如何在显示主窗体后启用复选框