全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

使用插件上传接口,提示下面错误;或者可以提供一下.apipost文件内容,我自己加一下

工具 272次浏览

cn.hutool.core.io.IORuntimeException: FileNotFoundException: D:\JAVA-CODE\jack-code\njp-cloud-mes\.idea\.apipost (系统找不到指定的文件。)

at cn.hutool.core.io.IoUtil.toStream(IoUtil.java:773)

at cn.hutool.core.io.FileUtil.getInputStream(FileUtil.java:1895)

at com.wwr.apipost.util.PropertiesLoader.readProperties(PropertiesLoader.java:38)

at com.wwr.apipost.util.PropertiesLoader.lambda$getProperties$1(PropertiesLoader.java:29)

at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)

at com.wwr.apipost.util.PropertiesLoader.getProperties(PropertiesLoader.java:29)

at com.wwr.apipost.config.ApiPostConfig.getMergedInternalConfig(ApiPostConfig.java:240)

at com.wwr.apipost.action.AbstractAction.resolveConfig(AbstractAction.java:217)

at com.wwr.apipost.action.AbstractAction.actionPerformed(AbstractAction.java:84)

at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:315)

at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:294)

at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:337)

at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:294)

at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$performAction$4(ActionMenuItem.java:293)

at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:227)

at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.java:286)

at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$new$0(ActionMenuItem.java:67)

at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)

at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$3(ActionMenuItem.java:109)

at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)

at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:94)

at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)

at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:546)

at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:578)

at java.desktop/java.awt.Component.processMouseEvent(Component.java:6648)

at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3392)

at java.desktop/java.awt.Component.processEvent(Component.java:6413)

at java.desktop/java.awt.Container.processEvent(Container.java:2266)

at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5022)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)

at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)

at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)

at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)

at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2802)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4854)

at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)

at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:754)

at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:752)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)

at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:751)

at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)

at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:840)

at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:763)

at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)

at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)

at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)

at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)

at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)

at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)

at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)

at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)

at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)

at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

Caused by: java.io.FileNotFoundException: D:\JAVA-CODE\jack-code\njp-cloud-mes\.idea\.apipost (系统找不到指定的文件。)

at java.base/java.io.FileInputStream.open0(Native Method)

at java.base/java.io.FileInputStream.open(FileInputStream.java:216)

at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

at cn.hutool.core.io.IoUtil.toStream(IoUtil.java:771)

... 64 more

| 0 收藏

3 个回答

应该是咱们项目id填错了,您重新填一下

我也是同样的问题使用插件上传接口,提示下面错误;或者可以提供一下.apipost文件内容,我自己加一下

使用插件上传接口,提示下面错误;或者可以提供一下.apipost文件内容,我自己加一下

使用插件上传接口,提示下面错误;或者可以提供一下.apipost文件内容,我自己加一下

这个项目id是没有填错的,我已经比对过了;

这个问题是在使用一段时间后出现的;

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!