Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/331.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse4不以JavaWebStart启动_Java_Eclipse Rcp_Java Web Start_E4 - Fatal编程技术网

Eclipse4不以JavaWebStart启动

Eclipse4不以JavaWebStart启动,java,eclipse-rcp,java-web-start,e4,Java,Eclipse Rcp,Java Web Start,E4,我将Eclipse4应用程序导出到JavaWebStart jars+jnlp文件。 当我启动应用程序时,我收到一些信息消息和一个错误 !SESSION Tue Oct 11 15:00:05 CEST 2016 ----------------------------------------- !ENTRY org.eclipse.equinox.launcher 4 0 2016-10-11 15:00:05.475 !MESSAGE Exception launching the

我将Eclipse4应用程序导出到JavaWebStart jars+jnlp文件。 当我启动应用程序时,我收到一些信息消息和一个错误

    !SESSION Tue Oct 11 15:00:05 CEST 2016 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2016-10-11 15:00:05.475
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "loadLibrary.C:\Users\air27654\.eclipse\1480097773_win32_win32_x86_64\configuration\org.eclipse.equinox.launcher\5624ca9-47d77677\eclipse_1617.dll")
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkLink(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.Runtime.load(Unknown Source)
    at org.eclipse.equinox.launcher.JNIBridge.loadLibrary(JNIBridge.java:67)
    at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:174)
    at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2226)
    at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:115)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:247)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:79)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
我在互联网上搜索过,并发现将此添加到jnlp文件应该是固定的:

<security>
    <all-permissions></all-permissions>
  </security>

然而,更改后的版本并没有解决问题。有人能帮我解决这个问题吗? 我的完整jnlp文件如下所示:

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"  
    codebase="http://localhost" href="test2.jnlp">
  <information>
    <title>CR-IT System Platform</title>
    <vendor>cr</vendor>
    <description>This is my simple JWS Eclipse 
     application test.</description>
  </information>
  <!--request all permissions from the application. This does not change-->
  <security>
    <all-permissions></all-permissions>
  </security>
  <!-- The name of the main class to execute. This does not change-->
  <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain" />
  <resources>
    <jar href="plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar"/>
    <extension name="CR_IT_Client_Feature" 
     href="features/CR_IT_Client_Feature_1.0.0.new.jnlp" />
    <property name="eclipse.product" 
     value="CR-IT_client.product" />
  </resources>
  <resources os="Windows">
    <j2se version="1.7+" />
  </resources>
</jnlp>

CR-IT系统平台
铬
这是我的简单JWS Eclipse
应用测试。