-
Notifications
You must be signed in to change notification settings - Fork 116
Description
你好,VI是不是对点火插件在打成一个标准SpringBoot大jar包的部署方式不支持?
譬如在你的示例工程spring-boot-example中,在pom.xml里改为:
<packaging>jar</packaging>
再利用maven命令打成标准SpringBoot大jar包,然后利用命令行启动:
> java -jar spring-boot-example-0.0.1.jar
启动之后,在vi页面菜单里点击'Ignite Status',页面出错,后台有如下异常。但是在IDE里面或war包方式能正常工作。
谢谢!
com.ctrip.framework.cs.configuration.InitConfigurationException: java.io.FileNotFoundException: D:\IdeaProjects\vi\spring-boot-example\target\spring-boot-example-0.0.1.jar!\BOOT-INF\classes (系统找不到指定的路径。)
at com.ctrip.framework.cs.configuration.ConfigurationManager.createDefaultConfigInstance(ConfigurationManager.java:183)
at com.ctrip.framework.cs.configuration.ConfigurationManager.getConfigInstance(ConfigurationManager.java:330)
at com.ctrip.framework.cs.component.ComponentHandler.execute(ComponentHandler.java:51)
at com.ctrip.framework.cs.VIApiHandler.executeService(VIApiHandler.java:160)
at com.ctrip.framework.cs.APIContentExecutor.doGet(APIContentExecutor.java:55)
at com.ctrip.framework.cs.VIApiServlet.handlerRequest(VIApiServlet.java:48)
at com.ctrip.framework.cs.VIApiServlet.doGet(VIApiServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at com.ctrip.framework.cs.servlet.VIFilter.doFilter(VIFilter.java:43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)