Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
PhotArk M4
-
JDK 1.5
Description
On the PhotArk Developer Guide, it is said that the required version of the JDK is at least 1.5. But in this case, the photark-flickr component cannot compile as the class javax.xml.ws.http.HTTPException, that is part of the JAX-WS API, is not included in the Java 5 API.
The dependency to the JAX-WS API should be added in the POM within a profile automatically triggered when the JDK's version is 1.5, as following:
<profiles>
<profile>
<id>jdk15</id>
<activation>
<jdk>1.5</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.2.8</version>
</dependency>
</dependencies>
</profile>
</profiles>
OR the required JDK's version should be 6.0 at least...