在Weblogic服务器上运行应用程序时出现此错误

时间:2018-12-13 16:10:30

标签: java

  

org.eclipse.core.runtime.CoreException:模块名为   “ _auto_genic_ear_”部署失败。有关更多信息,请参见错误日志视图。   详情。在   oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deployAutoGenerateEarApplication(WlsJ2EEDeploymentHelper.java:852)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1452)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:944)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:735)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:584)     在   org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)     在   org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)     在   org.eclipse.wst.server.core.internal.Server $ PublishJob.run(Server.java:355)     在org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)   包含:名为“ _auto_genic_ear_”的模块无法启动。   包含:weblogic.application.ModuleException:   javax.servlet.ServletException:MultipartFilter:没有临时上传   找到目录

     

java.lang.Exception:从部署驱动程序接收到异常。看到   错误日志视图以获取更多详细信息。在   oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:193)     在   oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.startModule(WlsJ2EEDeploymentHelper.java:1178)     在   oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deployAutoGenerateEarApplication(WlsJ2EEDeploymentHelper.java:843)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1452)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:944)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:735)     在   oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:584)     在   org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)     在   org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)     在   org.eclipse.wst.server.core.internal.Server $ PublishJob.run(Server.java:355)     在org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

1 个答案:

答案 0 :(得分:0)

根据您获得的javax.servlet.ServletException,您正在尝试上载到一个不存在的目录:

MultipartFilter: No temporary upload directory found.  Set a property named 'AVS.FILE_UPLOAD.TEMP_DIR' to a valid directory. 

解决方案是创建目录或指向有效目录。