Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while creating XmlStuff #76

Closed
xspecDevelopper opened this issue Feb 15, 2024 · 2 comments
Closed

Exception while creating XmlStuff #76

xspecDevelopper opened this issue Feb 15, 2024 · 2 comments

Comments

@xspecDevelopper
Copy link

xspecDevelopper commented Feb 15, 2024

Exception while creating XmlStuff
io.xspec.maven.xspecMavenPlugin.utils.XSpecPluginException: Cannot invoke "javax.xml.transform.URIResolver.resolve(String, String)" because "this.saxonResolver" is null

no execution has been done. processedFiles is null

Good morning,
I am trying to upgrade xpsec from 1.6.0 to 2.3.2. I am using version 12.4 of saxon-he and version 2.2.0 of the xspec.maven.plugin plugin.

I have this error the xspec file is located on src/test/xspec

full stacktrace :

Exception while creating XmlStuff
io.xspec.maven.xspecMavenPlugin.utils.XSpecPluginException: Cannot invoke "javax.xml.transform.URIResolver.resolve(String, String)" because "this.saxonResolver" is null
at io.xspec.maven.xspecMavenPlugin.utils.XmlStuff. (XmlStuff.java:154)
at io.xspec.maven.xspecMavenPlugin.XSpecRunner.init (XSpecRunner.java:130)
at uk.org.adamretter.maven.XSpecMojo.execute (XSpecMojo.java:368)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)

any help ?

@cmarchand
Copy link
Collaborator

Could you provide your pom.xml, or at least plugin part (dependencyManagement and dependencies parts) ?
Christophe

@cmarchand
Copy link
Collaborator

Solved by #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants