- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在将 Eclipse-Mars 用于 JAX-WS Web 服务,这是基于 Maven 的项目,位于此 link 上
当我运行maven install时
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>basic</id>
<phase>generate-sources</phase>
<goals>
<goal>wsgen</goal>
</goals>
</execution>
</executions>
<configuration>
<keep>true</keep>
<sei>com.ibrahim.service.XXServiceImpl</sei>
<genWsdl>true</genWsdl>
<resourceDestDir>${basedir}\generated\resources\wsdl</resourceDestDir>
<sourceDestDir>${basedir}\generated\java\source</sourceDestDir>
<verbose>true</verbose>
<target>2.1</target>
</configuration>
</plugin>
这是控制台中显示的错误
[INFO] ------------------------------------------------------------------------
[INFO] Building Metro-JAX-WS-Bottom-UP 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.sun.xml.ws:jaxws-rt:jar:2.2.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.glassfish.metro:webservices-rt:jar:2.3 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- jaxws-maven-plugin:2.3:wsgen (basic) @ Metro-JAX-WS-Bottom-UP ---
[WARNING] The POM for com.sun.xml.ws:jaxws-tools:jar:2.2.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Processing: com.jaxws.series.bottom.up.approach.service.BookServiceImpl
[INFO] jaxws:wsgen args: [-keep, -s, C:\Users\xxx\Downloads\Metro-JAX-WS-Bottom-UP\generated\java\source, -d, C:\Users\xxx\Downloads\Metro-JAX-WS-Bottom-UP\target\classes, -verbose, -encoding, UTF-8, -wsdl, -r, C:\Users\xxx\Downloads\Metro-JAX-WS-Bottom-UP\generated\resources\wsdl, com.jaxws.series.bottom.up.approach.service.BookServiceImpl]
[WARNING] Failed to build parent project for com.sun.xml.ws:project:pom:2.2.8
[WARNING] Failed to build parent project for com.sun.xml.ws:bundles:pom:2.2.8
[WARNING] Failed to build parent project for com.sun.xml.ws:jaxws-tools:pom:2.2.8
[WARNING] Invalid POM for com.sun.xml.ws:jaxws-tools:jar:2.2.8, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.710 s
[INFO] Finished at: 2016-06-22T15:50:16+05:30
[INFO] Final Memory: 7M/146M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen (basic) on project Metro-JAX-WS-Bottom-UP: Execution basic of goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen failed: String index out of range: -1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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
非常感谢任何帮助
最佳答案
我解决了依赖问题
[WARNING] Failed to build parent project for com.sun.xml.ws:project:pom:2.2.8
[WARNING] Failed to build parent project for com.sun.xml.ws:bundles:pom:2.2.8
[WARNING] Failed to build parent project for com.sun.xml.ws:jaxws-tools:pom:2.2.8
通过使用 JDK 而不是 JRE(com.sun.xml
在 JDK 中提供)。打开 Eclipse 设置 -> Java -> 安装的 JRE,并确保此处选择 JDK(例如,C:\Program Files\Java\jdk1.8.0_151
)。
关于java - 目标 org.jvnet.jax-ws-commons :jaxws-maven-plugin:2. 3:wsgen 的执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37915530/
我正在使用 maven 插件 jvnet org.jvnet.jaxb2.maven2 maven-jaxb2-plugin 从 xsd 生成 jaxb 类。 我希望所有 jaxb 类都必须实现可序
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem类的一些代码示例,展示了ZFSFileSystem类的具体用法。这些代码示例主要来源于Github/St
本文整理了Java中org.jvnet.solaris.libzfs.ZFSException类的一些代码示例,展示了ZFSException类的具体用法。这些代码示例主要来源于Github/Stac
本文整理了Java中org.jvnet.solaris.libzfs.ZFSPool类的一些代码示例,展示了ZFSPool类的具体用法。这些代码示例主要来源于Github/Stackoverflow/
本文整理了Java中org.jvnet.solaris.libzfs.ZFSObject类的一些代码示例,展示了ZFSObject类的具体用法。这些代码示例主要来源于Github/Stackoverf
本文整理了Java中org.jvnet.solaris.libzfs.jna.zfs_prop_t类的一些代码示例,展示了zfs_prop_t类的具体用法。这些代码示例主要来源于Github/Stac
当使用 JAX-RS(Jersey) 将图像/doc/xlsx 文件从我的 AngularJS 客户端上传到我的服务器端 java 时,出现以下异常, org.jvnet.mimepull.MIMEP
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.getMountPoint()方法的一些代码示例,展示了ZFSFileSystem.getMountP
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.allow()方法的一些代码示例,展示了ZFSFileSystem.allow()的具体用法。这些代码
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.setMountPoint()方法的一些代码示例,展示了ZFSFileSystem.setMountP
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.getZfsProperty()方法的一些代码示例,展示了ZFSFileSystem.getZfsPr
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.mount()方法的一些代码示例,展示了ZFSFileSystem.mount()的具体用法。这些代码
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.getName()方法的一些代码示例,展示了ZFSFileSystem.getName()的具体用法。
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.share()方法的一些代码示例,展示了ZFSFileSystem.share()的具体用法。这些代码
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.setProperty()方法的一些代码示例,展示了ZFSFileSystem.setProperty
本文整理了Java中org.jvnet.solaris.libzfs.ZFSFileSystem.destory()方法的一些代码示例,展示了ZFSFileSystem.destory()的具体用法。
本文整理了Java中org.jvnet.solaris.libzfs.ZFSException.()方法的一些代码示例,展示了ZFSException.()的具体用法。这些代码示例主要来源于Githu
本文整理了Java中org.jvnet.solaris.libzfs.ZFSPool.check()方法的一些代码示例,展示了ZFSPool.check()的具体用法。这些代码示例主要来源于Githu
本文整理了Java中org.jvnet.solaris.libzfs.ZFSPool.getAvailableSize()方法的一些代码示例,展示了ZFSPool.getAvailableSize()
本文整理了Java中org.jvnet.solaris.libzfs.ZFSPool.disableDatasets()方法的一些代码示例,展示了ZFSPool.disableDatasets()的具
我是一名优秀的程序员,十分优秀!