You are viewing a plain text version of this content. The canonical link for it is here.
Posted to savan-dev@ws.apache.org by "David J. M. Karlsen (JIRA)" <ji...@apache.org> on 2010/06/15 21:41:23 UTC

[jira] Created: (AXIS2-4743) java.lang.RuntimeException: JAX-B RI JARs not on classpath when not applicable

java.lang.RuntimeException: JAX-B RI JARs not on classpath when not applicable
------------------------------------------------------------------------------

                 Key: AXIS2-4743
                 URL: https://issues.apache.org/jira/browse/AXIS2-4743
             Project: Axis2
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5.1
            Reporter: David J. M. Karlsen


The maven2 wsdl2code plugin reports

java.lang.RuntimeException: JAX-B RI JARs not on classpath


even though
   <dependency>
                        <groupId>javax.xml.bind</groupId>
                        <artifactId>jaxb-api</artifactId>
                        <version>2.2</version>
                </dependency>
                <dependency>
                        <groupId>org.jvnet.jaxb2_commons</groupId>
                        <artifactId>jaxb2-basics-runtime</artifactId>
                        <version>0.5.2</version>
                </dependency>
                <dependency>
                        <groupId>com.sun.xml.bind</groupId>
                        <artifactId>jaxb-impl</artifactId>
                        <version>2.2</version>
                        <scope>runtime</scope>
                </dependency>

are included in the project pom.xml.

Probably the check is best implemented by looking for the API classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org