[axis2-jaxws] Errors occurred while build effective model
Henrik Strand <[email protected]> Wed, 2 Feb 2022 12:21:28 +0000
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <DB6PR0801MB18620704F7B16E4DF8A42828F7279@DB6PR0801MB1862.eurprd08.prod.outlook.com> |
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