vi
vi copied to clipboard
帮助了解和控制应用
Stop using automated means to control my property and phone this is Randall Lee Piner the one who directly works with AI and quantum computing!
你好,我想确认一个问题:我想下面加一个自己的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)...
希望提供maven坐标。 只提供jar包,这个不太符合现在JAVA项目的主流构建方式吧。
void runCheckThread(){ ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(new VIThreadFactory("vi-envIgnite")); executorService.scheduleAtFixedRate(new Runnable() { @Override public void run() { try{ if(waitTimes == 0 || waitTimes >MAXTIMES){ if(waitTimes != 0){ waitTimes = 0; } EnFactory.getEnApp().register();...
在线调试有老哥指点一下怎么用么,为什么调试不了应用程序本身呢。
按-Xlint:deprecation,unchecked扫出的建议进行了调整。 请在url后加w=1查看diff,这样可以去掉只是空白字符的变化。[files changed](https://github.com/ctripcorp/vi/pull/7/files?w=1)
如何部署使用
如何部署使用