---
title: "weblogic 部署问题 Failed to complete the deployment task with ID 0 for the application WebApp"
author: "simon_zhang"
date: "2006-12-20T10:54:00Z"
tags: []
slug: "weblogic-failed-to-complete-the-deployment-task-with-id-0-for-the-application-webapp"
draft: false
lastmod: "2006-12-20T10:54:00Z"
id: 64918
url: "https://mogee.iteye.com/blog/64918"
---

再用Eclipse 开发web项目，用ant编译程序，并weblogic 在启动时不能自动部署web应用程序，在手动部署时出现下面的提示：

####&lt;2006-10-27 下午13时24分51秒 CST&gt; &lt;Error&gt; &lt;Deployer&gt; &lt;d28afb45b2fd498&gt; &lt;myserver&gt; &lt;ExecuteThread: '3' for queue: 'weblogic.kernel.System'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;BEA-149201&gt; &lt;Failed to complete the deployment task with ID 0 for the application  WebApp

在网上用google搜了下，说是“编译时用的jdk和weblogic用的jdk不是一个版本，用一个版本就好了”，试试吧，我修改了项目编译时用的jdk。具体步骤如下  
1.右击项目选择properties。点击左侧的java Compiler，  
2.在右侧会看到 Configure Workspace Settings...,点击它  
3.修改右侧的Compiler Compliance level  的jdk版本就OK!