我在 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/