Explorar el Código

Added an FAQ section

peter_backlund hace 17 años
padre
commit
45fa5a65df
Se han modificado 2 ficheros con 45 adiciones y 0 borrados
  1. 44
    0
      dddsample/src/site/fml/faq.fml
  2. 1
    0
      dddsample/src/site/site.xml

+ 44
- 0
dddsample/src/site/fml/faq.fml Ver fichero

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&lt;com.aggregator.HandlingReportService&gt;,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>

+ 1
- 0
dddsample/src/site/site.xml Ver fichero

26
       <item name="Characterization" href="characterization.html"/>
26
       <item name="Characterization" href="characterization.html"/>
27
       <item name="Patterns Reference" href="patterns-reference.html"/>
27
       <item name="Patterns Reference" href="patterns-reference.html"/>
28
       <item name="Architecture" href="architecture.html" />
28
       <item name="Architecture" href="architecture.html" />
29
+      <item name="FAQ" href="faq.html"/>
29
       <!--item name="Case study: Handling" href="handlingEventRegistration.html" /-->
30
       <!--item name="Case study: Handling" href="handlingEventRegistration.html" /-->
30
     </menu>
31
     </menu>
31
     <menu ref="reports"/>
32
     <menu ref="reports"/>