Claudenw commented on PR #215:
URL: https://github.com/apache/creadur-whisker/pull/215#issuecomment-2799818487

   @ottlinger 
   
   I can get the error if I do the following:
   
   ```
   rm -rf ~/.m2/repository/org/apache/creadur/whisker
   cd ~/apache/creadur/whisker/apache-whisker-maven-plugin
   ../mvnw -e -B -V -ntp clean install site
   ```
   
   I get
   ```
   Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: 
Compilation failure
   
/home/claude/apache/creadur-whisker/apache-whisker-maven-plugin/src/main/java/org/apache/creadur/whisker/plugin/maven/GenerateMojo.java:[70,36]
 constructor VelocityEngine in class 
org.apache.creadur.whisker.out.velocity.VelocityEngine cannot be applied to 
given types;
     required: org.apache.commons.logging.Log
     found:    no arguments
     reason: actual and formal argument lists differ in length
   
       at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute 
(AbstractCompilerMojo.java:1212)
       at org.apache.maven.plugin.compiler.CompilerMojo.execute 
(CompilerMojo.java:193)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:568)
       at com.gradle.maven.cache.extension.d.n.a (SourceFile:53)
       at com.gradle.maven.cache.extension.d.d.a (SourceFile:27)
       at com.gradle.maven.cache.extension.d.q.a (SourceFile:23)
       at com.gradle.maven.cache.extension.d.j.a (SourceFile:28)
       at com.gradle.maven.cache.extension.d.p.a (SourceFile:27)
       at com.gradle.maven.cache.extension.d.b.c (SourceFile:118)
       at com.gradle.maven.cache.extension.d.b.a (SourceFile:62)
       at com.gradle.maven.cache.extension.d.g.a (SourceFile:27)
       at com.gradle.maven.cache.extension.d.a.a (SourceFile:46)
       at com.gradle.maven.cache.extension.d.o.a (SourceFile:18)
       at com.gradle.maven.cache.extension.d.a.a (SourceFile:46)
       at com.gradle.maven.cache.extension.d.c.a (SourceFile:26)
       at com.gradle.maven.cache.extension.d.h$1.run (SourceFile:35)
       at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
(SourceFile:29)
       at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
(SourceFile:26)
       at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute 
(SourceFile:66)
       at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute 
(SourceFile:59)
       at org.gradle.internal.operations.DefaultBuildOperationRunner.execute 
(SourceFile:166)
       at org.gradle.internal.operations.DefaultBuildOperationRunner.execute 
(SourceFile:59)
       at org.gradle.internal.operations.DefaultBuildOperationRunner.run 
(SourceFile:47)
       at com.gradle.maven.cache.extension.d.h.a (SourceFile:31)
       at com.gradle.maven.cache.extension.d.m.a (SourceFile:82)
       at com.gradle.maven.cache.extension.h.b.lambda$createProxy$0 
(SourceFile:76)
       at jdk.proxy10.$Proxy85.execute (Unknown Source)
       at com.gradle.maven.scan.extension.internal.d.b.executeMojo 
(SourceFile:116)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:328)
       at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:316)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
       at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
       at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
       at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:73)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:53)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:118)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:77)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:568)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:255)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:201)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:361)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:314)
   ```
   
   This appears to be the same as one of the errors in the windows CI log.  
Could it be that the compilation is not pulling the new version but is relying 
on the old version?
   
    * Is there a 0.2 version already released?
    * Did the 0.2 version of the VelocityEngine have a breaking change?
    * Is there an earlier version of the VelocityEngine in any of the libraries 
that this code uses?  If so could it be loaded earlier so the newer version 
does not get loaded?
    
   You could change the name to VelociyEngine2 and see if that resolves the 
problem.  Then it would be evident that there was a naming/version conflict.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to