java-web-start 相关问题

Java Web Start(JWS)是用于直接从网络或Internet链接启动富客户端(Swing,Java-FX,SWT,AWT ..)桌面应用程序的Oracle技术。它为支持Java的平台提供“一键式”安装。

idea项目中未指定输出目录

思路有问题: Error:(3, 8) java: 写入edu.nuaa.vo.User时错误: 输出目录不是 指定的 这是什么意思? 我的编译器输出路径是:

回答 2 投票 0

Java webstart max-heap-size导致JVM无法启动

我们在客户端使用 java webstart 来实现基于 java swing 的应用程序。最近我们在点击 jnlp 时遇到了一个奇怪的“无法启动 java 虚拟机”错误...

回答 2 投票 0

使用 Docker 部署时无法访问 Java SOAP 服务

我有这个简单的 Java SOAP 服务,它在本地计算机上运行良好。 导入 javax.jws.WebMethod; 导入 javax.jws.WebParam; 导入 javax.jws.WebService; 导入 javax.xml.ws.Endpoint; @WebSe...

回答 1 投票 0

Java GUI 无法在网站上自动运行

我有一个Java程序,它运行一个GUI,该GUI从用户接收所需信息/显示信息。 GUI 中有一个按钮,可以生成我希望的 PDF 形式的提案...

回答 2 投票 0

如何将Hash转为Array?

我正在尝试在 Eclipse 中使用 JSwing 和 JAVA-WS 创建一个带有 GUI 的库存系统,但我一直在尝试将哈希转换为数组。我绝不是 Java 方面的专家,所以我来这里是为了......

回答 1 投票 0

无法运行两个 java webstart 实例

我无法在任何给定时间运行多个 java webstart 实例。 例如,我无法同时运行应用程序的生产和 QA 实例,这两个实例都是 la...

回答 4 投票 0

Jenkins Windows 代理认为我的证书无效

按照文档使用 Java Web Start,我已经在代理上运行此命令以连接到控制器了: java -jar agent.jar -jnlpUrl https://my-server.com:8888/co...

回答 3 投票 0

无法使用 Open Webstart Java 8 运行 jnlp

我的应用程序是在oracle jdk8上开发的,UI是用javafx编写的。 UI 使用 javaws 运行,但是 openWebstart 无法启动相同的 UI,并出现错误“应用程序错误:不是可启动的 JNL...

回答 1 投票 0

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。因此,从技术上讲,它的工作原理就像一个圆形罐子,但不幸的是错误消息并不全面

回答 1 投票 0

有没有一种现代方法可以在浏览器中运行java应用程序?

有没有一种现代的方式在网络上运行java应用程序?据我所知,java applet 和 java web start 都已被弃用。 我有一个用java编写的android应用程序,我想在ser上运行...

回答 3 投票 0

AxisFault 故障代码:{http://schemas.xmlsoap.org/soap/envelope/}Server.userException 故障子代码:faultString:

当我尝试执行以下代码时出现异常。有人可以解决这个问题吗? 字符串 url = "http://localhost:8080/Pack_Server/PredictedServices.jws"; 服务服务...

回答 1 投票 0

javaweb项目启动后的一个问题

我启动项目时,浏览器没有打开“http://localhost:8080/page.do?operate=page&page=login”,一直等到报404错误。 tomcat 似乎可以正常启动。

回答 0 投票 0

虽然安装了 Java 8,但无法找到支持 javaws 的 Java Runtime

在我的 Mac 上,我无法打开 JNLP 文件。双击它们会打开一个弹出消息: 操作无法完成。无法找到支持 javaws 的 Java 运行时。 请访问 h...

回答 2 投票 0

Java(8)Webstart:避免安全弹出窗口

我目前正在开发在JRE 1.8.0.77下运行的旧版JavaFX应用程序。它在没有互联网的封闭网络中运行。此应用程序通过...

回答 1 投票 0


连接到正在运行的JavaWebStart,Oracle Forms 12c App [性能测试]

直到现在,我一直在使用Oracle负载测试对Oracle Forms应用程序进行负载测试。现在我们要更改我们的应用程序,新的应用程序将是Java Web Start应用程序-将从.jnlp ...

回答 1 投票 0

如何在本地启动Java Web Start

我正在尝试用Java Web Start应用程序替换我的所有Applet。我遇到的问题是,我还没有看到将codebase属性指定为目录的任何示例...

回答 1 投票 2

如何使SSL与非SSL协议数据完美兼容

[简短的背景:如果我们将时间追溯到2006年左右:我们(即我的公司)使用了嵌入在浏览器中的Java客户端应用程序,该应用程序通过端口443连接到在端口8068上运行的C程序后端...

回答 1 投票 0

如何在空手道中创建jws消息签名

我需要在请求中传递一个标头,该标头应该已经分离了由私钥签名的jws(已签名的请求有效负载。空手道中是否有这样做的选项?或者以前有人这样做吗?

回答 1 投票 1

OpenWebStart + IcedTea-Web:JavaScript启动按钮

使用OpenWebStart(Java SE 11),我们应该使用什么JavaScript脚本来创建启动按钮?在Java SE 8中,我使用了: [...] ...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.