Java Web Start(JWS)是用于直接从网络或Internet链接启动富客户端(Swing,Java-FX,SWT,AWT ..)桌面应用程序的Oracle技术。它为支持Java的平台提供“一键式”安装。
大家好 我正在编写一些软件,允许用户在我的软件包中创建自己的 Java 类以供特定用途。显然,我的软件需要能够调用 Java
需要执行安装在远程服务器上的小程序,而不使用 Java Web Start 或任何浏览器
场景: 我的公司正在维护一个小程序,该小程序可以通过 Java Web Start 被许多机器使用。 Java Web Start 由包含所有信息和参数的 JNLP 文件触发...
思路有问题: Error:(3, 8) java: 写入edu.nuaa.vo.User时错误: 输出目录不是 指定的 这是什么意思? 我的编译器输出路径是:
Java webstart max-heap-size导致JVM无法启动
我们在客户端使用 java webstart 来实现基于 java swing 的应用程序。最近我们在点击 jnlp 时遇到了一个奇怪的“无法启动 java 虚拟机”错误...
使用 Docker 部署时无法访问 Java SOAP 服务
我有这个简单的 Java SOAP 服务,它在本地计算机上运行良好。 导入 javax.jws.WebMethod; 导入 javax.jws.WebParam; 导入 javax.jws.WebService; 导入 javax.xml.ws.Endpoint; @WebSe...
我有一个Java程序,它运行一个GUI,该GUI从用户接收所需信息/显示信息。 GUI 中有一个按钮,可以生成我希望的 PDF 形式的提案...
我正在尝试在 Eclipse 中使用 JSwing 和 JAVA-WS 创建一个带有 GUI 的库存系统,但我一直在尝试将哈希转换为数组。我绝不是 Java 方面的专家,所以我来这里是为了......
我无法在任何给定时间运行多个 java webstart 实例。 例如,我无法同时运行应用程序的生产和 QA 实例,这两个实例都是 la...
按照文档使用 Java Web Start,我已经在代理上运行此命令以连接到控制器了: java -jar agent.jar -jnlpUrl https://my-server.com:8888/co...
无法使用 Open Webstart Java 8 运行 jnlp
我的应用程序是在oracle jdk8上开发的,UI是用javafx编写的。 UI 使用 javaws 运行,但是 openWebstart 无法启动相同的 UI,并出现错误“应用程序错误:不是可启动的 JNL...
org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet 失败的原因可能是什么?
我们的pom.xml是: 4.0.0 com.我们的 我们的pom.xml是: <?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.our</groupId> <artifactId>our.control</artifactId> <version>1.20.2.7</version> </parent> <artifactId>our.gui-client.webstart</artifactId> <name>our.gui-client.webstart</name> <packaging>war</packaging> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <directory>webstatic</directory> <filtering>true</filtering> <includes> <include>**/*.html</include> </includes> </resource> <resource> <directory>webstatic</directory> <filtering>false</filtering> <excludes> <exclude>**/*.html</exclude> </excludes> </resource> </webResources> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>webstart-maven-plugin</artifactId> <version>1.0-beta-7</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>jnlp-download-servlet</goal> </goals> </execution> </executions> <configuration> <outputDirectoryName>webstart</outputDirectoryName> <outputJarVersions>false</outputJarVersions> <jnlpFiles> <jnlpFile> <templateFilename>template.vm</templateFilename> <outputFilename>our.jnlp</outputFilename> <jarResources> <jarResource> <groupId>com.our</groupId> <artifactId>our.gui-client</artifactId> <version>${project.version}</version> <mainClass>com.our.control.guiclient.MainApp</mainClass> </jarResource> </jarResources> </jnlpFile> </jnlpFiles> <sign> <keystore>${project.build.directory}/keyStore</keystore> <keypass>our</keypass> <storepass>our</storepass> <alias>webstart</alias> <storetype>jks</storetype> <validity>3650</validity> <dnameCn>our.com</dnameCn> <dnameOu>None</dnameOu> <dnameO>SIA</dnameO> <dnameL>L</dnameL> <dnameSt>St</dnameSt> <dnameC>C</dnameC> <keystoreConfig> <delete>true</delete> <gen>true</gen> </keystoreConfig> <verify>true</verify> </sign> <updateManifestEntries> <Trusted-Library>true</Trusted-Library> <Permissions>all-permissions</Permissions> <Codebase>*</Codebase> </updateManifestEntries> </configuration> </plugin> </plugins> </build> </project> 堆栈跟踪是 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet (default) on project our.control.gui-client.webstart: Execution default of goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet failed. at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:347) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:webstart-maven-plugin:1.0-beta-7:jnlp-download-servlet failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.NullPointerException at org.codehaus.mojo.webstart.util.DefaultArtifactUtil.artifactContainsClass (DefaultArtifactUtil.java:211) at org.codehaus.mojo.webstart.JnlpDownloadServletMojo.resolveJarResources (JnlpDownloadServletMojo.java:490) at org.codehaus.mojo.webstart.JnlpDownloadServletMojo.execute (JnlpDownloadServletMojo.java:180) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175) at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76) at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163) at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272) at org.apache.maven.cli.MavenCli.main (MavenCli.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :our.control.gui-client.webstart [DEBUG] Shutting down adapter factory; available factories [file-lock, rwlock-local, semaphore-local, noop]; available name mappers [discriminating, file-gav, file-hgav, file-static, gav, static] 如果发生循环依赖就会出现这种情况! <jarResources> <jarResource> <groupId>com.our</groupId> <artifactId>our.gui-client</artifactId> <version>${project.version}</version> <mainClass>com.our.control.guiclient.MainApp</mainClass> </jarResource> </jarResources> 这个罐子正在提供另一个 pom,它正在提供当前的兴趣 pom。因此,从技术上讲,它的工作原理就像一个圆形罐子,但不幸的是错误消息并不全面
有没有一种现代的方式在网络上运行java应用程序?据我所知,java applet 和 java web start 都已被弃用。 我有一个用java编写的android应用程序,我想在ser上运行...
AxisFault 故障代码:{http://schemas.xmlsoap.org/soap/envelope/}Server.userException 故障子代码:faultString:
当我尝试执行以下代码时出现异常。有人可以解决这个问题吗? 字符串 url = "http://localhost:8080/Pack_Server/PredictedServices.jws"; 服务服务...
我启动项目时,浏览器没有打开“http://localhost:8080/page.do?operate=page&page=login”,一直等到报404错误。 tomcat 似乎可以正常启动。
虽然安装了 Java 8,但无法找到支持 javaws 的 Java Runtime
在我的 Mac 上,我无法打开 JNLP 文件。双击它们会打开一个弹出消息: 操作无法完成。无法找到支持 javaws 的 Java 运行时。 请访问 h...
我目前正在开发在JRE 1.8.0.77下运行的旧版JavaFX应用程序。它在没有互联网的封闭网络中运行。此应用程序通过...
连接到正在运行的JavaWebStart,Oracle Forms 12c App [性能测试]
直到现在,我一直在使用Oracle负载测试对Oracle Forms应用程序进行负载测试。现在我们要更改我们的应用程序,新的应用程序将是Java Web Start应用程序-将从.jnlp ...
我正在尝试用Java Web Start应用程序替换我的所有Applet。我遇到的问题是,我还没有看到将codebase属性指定为目录的任何示例...
[简短的背景:如果我们将时间追溯到2006年左右:我们(即我的公司)使用了嵌入在浏览器中的Java客户端应用程序,该应用程序通过端口443连接到在端口8068上运行的C程序后端...