I see the problem, I just compiled the axiom from the latest in git: [DEBUG] org.codehaus.mojo:aspectj-maven-plugin:jar:1.14.0 [DEBUG] org.aspectj:aspectjrt:jar:1.9.7:runtime [DEBUG] org.aspectj:aspectjtools:jar:1.9.7:runtime [DEBUG] com.sun:tools:jar:11.0.2:system
Yet it seems part of the axiom dom-testsuite so not sure why it's a dependency in the distributed axiom. I suppose add the equivalent to your gradle config? <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>${java.version}</version> <scope>system</scope> <systemPath>${project.basedir}/pom.xml</systemPath> </dependency> On Wed, Feb 2, 2022 at 2:22 AM Henrik Strand <henrik.str...@pipechain.com> wrote: > Hi, > > > > Including *axis2-jaxws* as a dependency in the *build.gradle* file > > > > *dependencies {* > > * implementation 'org.apache.axis2:axis2-jaxws:1.8.0'* > > * ...* > > *}* > > > > gives me the following error: > > > > *Errors occurred while build effective model from > C:\Users\sehenst\.gradle\caches\modules-2\files-2.1\org.apache.ws.commons.axiom\axiom-impl\1.3.0\2f553468b717352b6042a134e28eaf2c4c4d28cf\axiom-impl-1.3.0.pom:* > > * > 'build.plugins.plugin[org.codehaus.mojo:aspectj-maven-plugin].dependencies.dependency.systemPath' > for com.sun:tools:jar must specify an absolute path but is > ${project.basedir}/pom.xml in org.apache.ws.commons.axiom:axiom-impl:1.3.0* > > *Errors occurred while build effective model from > C:\Users\sehenst\.gradle\caches\modules-2\files-2.1\org.apache.ws.commons.axiom\axiom-dom\1.3.0\ff7124954484b7d4bbc396cfb5eda78dee67ef3f\axiom-dom-1.3.0.pom:* > > * > 'build.plugins.plugin[org.codehaus.mojo:aspectj-maven-plugin].dependencies.dependency.systemPath' > for com.sun:tools:jar must specify an absolute path but is > ${project.basedir}/pom.xml in org.apache.ws.commons.axiom:axiom-dom:1.3.0* > > > > I'm building with Java 11 and it looks like the com.sun:tools:jar file was > removed in Java 9. > > > > What can I do in order to solve this error? > > > > Thanks in advance. > > > > /Henrik > > >