Hello,
I am using the AxoIvy Designer 8 and trying to add a new WS Client with the Axis1, but when I generated the WS classes and run the maven build in Designer it fails with the following error:
[ERROR] 2168. ERROR in D:\work\a\b\c\src_ws\pasoe\b2b\Set_CCPayment_ttERRORRow.java (at line 113)
[ERROR] javax.xml.namespace.QName _xmlType) {
[ERROR] ^^^^^^^^^^^^^^^^^^^
[ERROR] The package javax.xml.namespace is accessible from more than one module: <unnamed>, java.xml
The part of pom file:
<properties>
<build.plugin.version>8.0.6</build.plugin.version>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<ivy.version>8.0.12</ivy.version>
<ivy.engine.os.arch>All_x64</ivy.engine.os.arch>
<axonivy.peristence.version>0.9.0</axonivy.peristence.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>3.8.9</version>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
<exclusion>
<artifactId>logback-classic</artifactId>
<groupId>ch.qos.logback</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<repositories>
<repository>
<id>archiva.release</id>
<name>Archiva Managed Repository from AnalytikData PRiME GmbH</name>
<url>${api.url}</url>
</repository>
<repository>
<id>axonivy.release</id>
<name>Dependencies needed to compile the Projects for Axon Ivy</name>
<url>${api.url}</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>${build.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<osArchitecture>${ivy.engine.os.arch}</osArchitecture>
<ivyVersion>${ivy.version}</ivyVersion>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy.maven.dependencies</id>
<phase>generate-resources</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>lib</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.4.0</version>
</artifactItem>
<artifactItem>
<groupId>com.progress</groupId>
<artifactId>o4glrt</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.11.1</version>
</artifactItem>
<artifactItem>
<groupId>com.progress</groupId>
<artifactId>o4glrt</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.emf</groupId>
<artifactId>common</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.emf</groupId>
<artifactId>ecore</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.emf</groupId>
<artifactId>ecore-change</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.emf</groupId>
<artifactId>ecore-xmi</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-api</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-impl</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-lib</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.tuscany.sdo</groupId>
<artifactId>tuscany-sdo-tools</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.xsd</groupId>
<artifactId>xsd</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>org.eclipse.xsd</groupId>
<artifactId>xsd</artifactId>
<version>11.7</version>
</artifactItem>
<artifactItem>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.10.0</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.17</version>
</artifactItem>
<artifactItem>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.6.0</version>
</artifactItem>
<artifactItem>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</artifactItem>
<artifactItem>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
<version>3.8.9</version>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Does anyone know how to fix this?
UPDATE
Here is the result of searching "javax.xml.namespace" in Navigate -> Open Type

Thanks,
Dmitry