项目

一般

简介

V9 启动报错:com.apusic.deploy.runtime.DeploymentException: 启动应用 'DreamFlow.zip' 失败。

由 宋 川 在 大约 3 年 之前添加

问题描述:V9启动报错:

2021-11-17 09:57:38 错误 [apusic.service.J2EEDeployer-Thread 88] Auto deploy failed
com.apusic.deploy.runtime.DeploymentException: 启动应用 'DreamFlow.zip' 失败。
 at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source)
 at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source)
 at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source)
 at com.apusic.deploy.runtime.J2EEDeployer.deploy(Unknown Source)
 at com.apusic.deploy.runtime.AutoDeployer.deploy(Unknown Source)
 at com.apusic.deploy.runtime.AutoDeployer.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:748)
Caused by: com.apusic.deploy.runtime.DeploymentException: 模块 'DreamFlow' 装载失败。
 at com.apusic.deploy.runtime.J2EEApplication.loadModules(Unknown Source)
 at com.apusic.deploy.runtime.J2EEApplication.startApplication(Unknown Source)
 at com.apusic.deploy.runtime.J2EEApplication.startService(Unknown Source)
 at com.apusic.service.Service.start(Unknown Source)
 ... 7 more
Caused by: java.lang.IllegalArgumentException: 虚拟目录 '/DreamFlow version=1.0' 已经存在。
 at com.apusic.web.http.VirtualHost.addContext(Unknown Source)
 at com.apusic.web.http.HttpServer.loadWebModule(Unknown Source)
 at com.apusic.web.WebService.loadWebModule(Unknown Source)
 at com.apusic.deploy.runtime.WebModule.load(Unknown Source)
 ... 11 more

处理方法:检查domain/mydomain/applications目录下,是不是有非文件夹格式的文件,如果存在就删掉。