|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2
|
+<faqs xmlns="http://maven.apache.org/FML/1.0"
|
|
|
3
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
4
|
+ xsi:schemaLocation="http://maven.apache.org/FML/1.0 http://maven.apache.org/xsd/fml-1.0.xsd"
|
|
|
5
|
+ title="Frequently Asked Questions"
|
|
|
6
|
+ toplink="false">
|
|
|
7
|
+
|
|
|
8
|
+ <part id="Build">
|
|
|
9
|
+ <faq id="jax-ws-compilation-failure">
|
|
|
10
|
+ <question>
|
|
|
11
|
+ Compilation fails with this error:
|
|
|
12
|
+ <code>
|
|
|
13
|
+ dddsample\src\main\java\com\aggregator\HandlingReportServiceService.java:[63,43] cannot find symbol
|
|
|
14
|
+ symbol: method getPort(javax.xml.namespace.QName,java.lang.Class<com.aggregator.HandlingReportService>,javax.xml.ws.WebServiceFeature[])
|
|
|
15
|
+ location: class javax.xml.ws.Service
|
|
|
16
|
+ </code>
|
|
|
17
|
+ </question>
|
|
|
18
|
+ <answer>
|
|
|
19
|
+ <p>
|
|
|
20
|
+ You are using a compiler older than the required 1.6.0_04. Verify with the output of javac -version.
|
|
|
21
|
+ The bundled version of the JAX-WS API changed from 2.0 to 2.1 between updates 3 and 4 of the JDK.</p>
|
|
|
22
|
+ <p>
|
|
|
23
|
+ Solution: upgrade to the latest JDK.
|
|
|
24
|
+ </p>
|
|
|
25
|
+ </answer>
|
|
|
26
|
+ </faq>
|
|
|
27
|
+ <faq id="invalid-target-1-6-mac">
|
|
|
28
|
+ <question>
|
|
|
29
|
+ <code>javac: invalid target release: 1.6</code> on Mac, even though Java 6 is in the PATH.
|
|
|
30
|
+ </question>
|
|
|
31
|
+ <answer>
|
|
|
32
|
+ <p>
|
|
|
33
|
+ Maven (and many other applications) uses the concept of CurrentJDK in Mac, not the java/javac in your PATH.
|
|
|
34
|
+ </p>
|
|
|
35
|
+ <p>
|
|
|
36
|
+ Go to /System/Library/Frameworks/JavaVM.framework/Versions and make sure that the symlink
|
|
|
37
|
+ CurrentJDK points to the 1.6.0 directory.
|
|
|
38
|
+ </p>
|
|
|
39
|
+ </answer>
|
|
|
40
|
+ </faq>
|
|
|
41
|
+
|
|
|
42
|
+ </part>
|
|
|
43
|
+
|
|
|
44
|
+</faqs>
|