How to solve SplitsrcTargetPreparation exception i

2019-05-08 07:24发布

I am trying to run a simple Restful web service example on oracle weblogic server . but i am getting this issue while run the project on server. Publishing to Oracle Weblogic server at localhost has encountered a problem.Runtime exception occurred in publish task 'SplitsrcTargetPreparation'. Have a look on screen sort.
What i have to do ?
enter image description here

2条回答
相关推荐>>
2楼-- · 2019-05-08 07:49

Check the following.

  1. Maven version – If you have imported as a maven project then make sure that maven version is compatible to the java version you are using.
  2. Makes sure that you are using the java from the Middleware which is comes bundled with weblogic.
  3. New domain – Corrupt domain may also cause this. Create a new domain
查看更多
爷的心禁止访问
3楼-- · 2019-05-08 08:03

None of the other answers solved my problem, but I finally found a solution. I'm not claiming that this is the best or only way of resolving this issue, but it worked for me. Hope it helps others.

Open the Properties of your WebLogic server instance in Eclipse. Select Publishing. Set the publishing mode to "Publish as an exploded archive". You will no longer get a split source error.

enter image description here

查看更多
登录 后发表回答