使用 Eclipse IDE 在 weblogic 服务器中发布项目时出错
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11756243/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error during publishing project in weblogic server using eclipse IDE
提问by Manu
I'm getting the below error during publishing projects in WebLogic server (using Eclipse IDE).
在 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'
Thanks in advance.
提前致谢。
回答by herry
May be already solved this issue. I think that error message occurred because not all mappings supported in Deployment Assembly.
可能已经解决了这个问题。我认为出现该错误消息是因为并非部署程序集中支持所有映射。
Please right click to web project:
请右键点击网页项目:
Properties -> Deployment Assembly
and delete /WEB-INF/lib row.
并删除 /WEB-INF/lib 行。
Here isan explanation:
这是一个解释:
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)
如果您在部署程序集中将外部文件夹映射到 Web 资源,则并非所有映射都受支持,拆分源中仅支持映射到 EAR 或 Web 内容根的资源文件夹。(在您的情况下,应该支持映射到“/WEB-INF/classes/”,这是我们将在未来版本中修复的错误)
回答by Elidio Marquina
In my case, after trying to wake up a project made on Maven, i removed the line was say /WEB-INF/web.xml
, on:
就我而言,在尝试唤醒在 Maven 上创建的项目后,我删除了 say 行/WEB-INF/web.xml
:
Properties -> Deployment Assembly
Properties -> Deployment Assembly
My configuration is on Spring Tool Suitewith Oracle Web Logic Server Tools, downloaded from Marketplace, and after updated using the Luna OEPE plugin via urlDeploying a WAR solution to WebLogic 12.1.3
我的配置是在带有Oracle Web Logic Server Tools 的Spring Tool Suite上,从 Marketplace 下载,并在通过 url使用Luna OEPE 插件更新后将WAR 解决方案部署到 WebLogic 12.1.3
回答by kavin raj
Follow these steps.....
按着这些次序.....
- Stop the server
- Right click on Oracle server and go to Properties.
- Go to WebLogic > Publishing
- Select Publish as an explode archive
Go to your domain path
C:\Oracle\Middleware\user_projects\domains\Domain_Name\servers\AdminServer
Delete everything "except security".
Now restart the server. It will work fine.
- 停止服务器
- 右键单击 Oracle 服务器并转到属性。
- 转到 WebLogic > 发布
- 选择发布为爆炸档案
转到您的域路径
C:\Oracle\Middleware\user_projects\domains\Domain_Name\servers\AdminServer
删除所有“除了安全性”。
现在重新启动服务器。它会正常工作。