当我通过服务器启动我的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
答案 0 :(得分:2)
当需要的罐子丢失时我遇到了这个问题。请重新检查您的依赖项是否正在捆绑正确。如果没有,请尝试查看eclipse日志文件以获取更多信息。
答案 1 :(得分:2)
当我的web.xml文件找不到我的servlet时,我遇到了类似的异常。我更改了servlet所在的包名称,并且没有更新web.xml文件。 (我知道这是从去年开始的,但也许这将有助于将来。)