问题
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 ?
回答1:
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.
回答2:
Check the following.
- 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.
- Makes sure that you are using the java from the Middleware which is comes bundled with weblogic.
- New domain – Corrupt domain may also cause this. Create a new domain
来源:https://stackoverflow.com/questions/29191905/how-to-solve-splitsrctargetpreparation-exception-in-oracle-weblogic-server