2012-08-01 163 views
5

在WebLogic服務器中發佈項目(使用Eclipse IDE)時,出現以下錯誤。在使用eclipse IDE在weblogic服務器中發佈項目期間出錯

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' 

在此先感謝。

回答

5

可能已經解決了這個問題。我認爲發生了錯誤信息是因爲部署程序集中不支持所有映射。

請右鍵點擊網頁項目:

Properties -> Deployment Assembly 

和刪除/ WEB-INF/lib下排。

Here is的解釋:

如果您在部署 大會映射外部文件夾的網絡資源,並非所有的映射支持,唯一的資源文件夾 映射到EAR或網頁內容根分割的支持資源。 (在 你的情況下,以「/ WEB-INF /班/」應得到支持映射,這 是我們將在未來的版本中修復bug)

1

在我的情況下,試圖喚醒一個項目後, Maven的做,我刪除了行是說/WEB-INF/web.xml上:

Properties -> Deployment Assembly

我的配置是春天工具套件的Oracle Web邏輯服務器工具,從市場下載,更新後的我們荷蘭國際集團的Luna OEPE plugin via url部署WAR的解決方案到WebLogic 12.1.3

1

按照以下步驟.....

  1. 停止服務器
  2. 右擊Oracle服務器上並轉到屬性。
  3. 進入到WebLogic>出版
  4. 選擇作爲一個爆炸存檔
  5. 轉到發佈到你的域路徑

    C:\Oracle\Middleware\user_projects\domains\Domain_Name\servers\AdminServer 
    
  6. 刪除一切 「除了安全」。

  7. 現在重新啓動服務器。它會正常工作。

+0

這解決了我的問題。我正在運行WebLogic 12.2.1 R2服務器,並選中「作爲虛擬應用程序發佈」選項。確保將其更改爲「作爲分解檔案發布」。 – 2017-05-23 14:37:12

相關問題