[
https://issues.apache.org/jira/browse/CXF-7101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15601613#comment-15601613
]
John D. Ament commented on CXF-7101:
------------------------------------
Hi Sergey, yep, see that here. Is the file intended to be called
{{SampleWsApplicationTests}} e.g. {{Tests}} instead of {{Test}}? The spring
boot parent pom includes this, not sure if its intended or not on the CXF side.
{code}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
</configuration>
</plugin>
{code}
So either we can rename the class, or add this mapping to the pom. Did any of
the other examples have tests?
> SpringBoot JAX-WS example fails
> -------------------------------
>
> Key: CXF-7101
> URL: https://issues.apache.org/jira/browse/CXF-7101
> Project: CXF
> Issue Type: Bug
> Components: Samples
> Affects Versions: 3.1.7
> Reporter: John D. Ament
>
> The JAX-WS example fails with the following:
> {code}
> [WARNING] Warning: killAfter is now deprecated. Do you need it ? Please
> comment on MEXEC-6.
> [WARNING]
> java.lang.ClassNotFoundException: sample.ws.service.client.HelloClient
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:281)
> at java.lang.Thread.run(Thread.java:745)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)