java weblogic服务器发布失败
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12084664/
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
weblogic server fails to publish
提问by kartheek
When I start my weblogic server though the server starts it always fails to publish, below is the exception trace found from errorlog.
当我启动我的 weblogic 服务器时,尽管服务器启动它总是无法发布,下面是从错误日志中找到的异常跟踪。
org.eclipse.core.runtime.CoreException: Module named '_auto_generated_ear_' failed to deploy. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deployAutoGenerateEarApplication(WlsJ2EEDeploymentHelper.java:783)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1433)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:896)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:677)
at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:530)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3029)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Deployment operation was not completed within timeout. State Type : running; Command Type : distribute; Action Type : execute; Completed : false; Failed : false; Message : null; Exception : null
回答by Chris
I faced this issue when required jars were missing. Please recheck whether your dependencies are getting bundled properly. If not, try to look in eclipse logfile for more information.
当所需的 jars 丢失时,我遇到了这个问题。请重新检查您的依赖项是否正确捆绑。如果没有,请尝试查看 eclipse 日志文件以获取更多信息。
回答by Jon
I got a similar exception when my web.xml file couldn't find my servlet. I had changed the package name the servlet was in and the web.xml file wasn't updated.
当我的 web.xml 文件找不到我的 servlet 时,我遇到了类似的异常。我已经更改了 servlet 所在的包名,并且 web.xml 文件没有更新。