Results 2 issues of Shengyuan 卢声远

你好,我想确认一个问题:我想下面加一个自己的resftful接口,例如:/@in/api/**abc**。 我目前的做法是新写一个类`ABCHandler`实现接口`ViFunctionHandler`,然后在`VIApiHandler`的构造方法里面添加注册: ```java public VIApiHandler(){ ... this.register(new CodeHandler()); this.register(new ABCHandler()); //

你好,VI是不是对点火插件在打成一个**标准SpringBoot大jar包的部署方式**不支持? 譬如在你的示例工程spring-boot-example中,在pom.xml里改为: `jar` 再利用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)...