打印
[开发工具]

harmony 3 打开出错

[复制链接]
9320|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
GYGD|  楼主 | 2020-2-6 23:46 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 GYGD 于 2020-2-6 23:49 编辑

我新建harmony3项目和打开例程项目都会出现以下情况:提示mplx_launcher.jar没找到,实际文件夹中是有的,我还专门安装了java运行库程序,请教一下不知何原因。



NBM:          3.4.1
Path:         H:\Program Files (x86)\Microchip\harmony3\mhc
Launch Stage: Dynamically loading MHC framework classes

System Information:
Processor Information:
  ID: Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
  Architecture: AMD64
  Mode: null
  Count: 4
Operating System Information:
  Name: Windows 10
  Version: 10.0
  Architecture: amd64
Available processors (cores): 4
Free memory (bytes): 255378024
Maximum memory (bytes): 6369837056
Total memory available to JVM (bytes): 577044480
Exception Information:
java.io.FileNotFoundException: H:\Program%20Files%20(x86)\Microchip\harmony3\mhc\mplx_launcher.jar (系统找不到指定的路径。)
Stack Trace:
java.io.FileNotFoundException: H:\Program%20Files%20(x86)\Microchip\harmony3\mhc\mplx_launcher.jar (系统找不到指定的路径。)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at java.io.FileInputStream.<init>(FileInputStream.java:93)
        at com.microchip.mplab.modules.mh3.MHCLauncher.getJarClasses(MHCLauncher.java:264)
        at com.microchip.mplab.modules.mh3.MHCLauncher.loadLauncherJar(MHCLauncher.java:384)
        at com.microchip.mplab.modules.mh3.MHCLauncher.Launch(MHCLauncher.java:154)
        at com.microchip.mplab.modules.mh3.MHCLauncher.PreLaunch(MHCLauncher.java:128)
        at com.microchip.mplab.modules.mh3.MH3OpenActionPerformed.actionPerformed(MH3OpenActionPerformed.java:23)
        at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
        at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
        at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
        at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
        at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:202)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
        at java.awt.Component.processMouseEvent(Component.java:6539)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
        at java.awt.Component.processEvent(Component.java:6304)
        at java.awt.Container.processEvent(Container.java:2239)
        at java.awt.Component.dispatchEventImpl(Component.java:4889)
        at java.awt.Container.dispatchEventImpl(Container.java:2297)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
        at java.awt.Container.dispatchEventImpl(Container.java:2283)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
        at java.awt.EventQueue$4.run(EventQueue.java:733)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

微信图片_20200206234752.png (414.62 KB )

微信图片_20200206234752.png

微信图片_20200206234746.png (312.66 KB )

微信图片_20200206234746.png

微信图片_20200206234737.png (445.41 KB )

微信图片_20200206234737.png

使用特权

评论回复
沙发
GYGD|  楼主 | 2020-2-7 13:19 | 只看该作者
找到问题点了。是因为Harmony的FW的路径有问题,文件夹中有空格,mplab就会把空格替换成%20,所以程序找不到文件,但是文件又确实存在。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

22

主题

110

帖子

0

粉丝