Re: 2.4.1 test build NoSuchMethodError

Claude Brisson <[email protected]>
Newsgroups gmane.comp.jakarta.velocity.devel
Message-ID <[email protected]>
Yes, we've upgraded to 3.17.0. Makes me think that I forgot to update 
the dependencies pages in 2.4 and 2.4.1 sections... But commons-lang was 
already at 3.17.0 there.

I guess those dependencies updates should also be mentioned in the 
upgrading page.

On 14/10/2024 09:35, Greg Huber wrote:
> Hello,
>
> I get
>
> java.lang.NoSuchMethodError: 'java.lang.reflect.Method 
> org.apache.commons.lang3.reflect.MethodUtils.getMethodObject(java.lang.Class, 
> java.lang.String, java.lang.Class[])'
>     at 
> org.apache.velocity.util.introspection.MethodMap.<clinit>(MethodMap.java:61)
>     at 
> org.apache.velocity.util.introspection.ClassMap$MethodCache.<init>(ClassMap.java:239)
>     at 
> org.apache.velocity.util.introspection.ClassMap$MethodCache.<init>(ClassMap.java:204)
>     at 
> org.apache.velocity.util.introspection.ClassMap.createMethodCache(ClassMap.java:127)
>     at 
> org.apache.velocity.util.introspection.ClassMap.<init>(ClassMap.java:88)
>     at 
> org.apache.velocity.util.introspection.IntrospectorCache.put(IntrospectorCache.java:168)
>     at 
> org.apache.velocity.util.introspection.IntrospectorBase.getMethod(IntrospectorBase.java:97)
>     at 
> org.apache.velocity.util.introspection.Introspector.getMethod(Introspector.java:94)
>     at 
> org.apache.velocity.util.introspection.SecureIntrospectorImpl.getMethod(SecureIntrospectorImpl.java:74)
>     at 
> org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(PropertyExecutor.java:101)
>     at 
> org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:71)
>     at 
> org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:48)
>     at 
> org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(UberspectImpl.java:375)
>     at 
> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:166)
>     at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
>     at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:492)
>     at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
>     at org.apache.velocity.Template.merge(Template.java:358)
>     at org.apache.velocity.Template.merge(Template.java:262)
>
> I have commons-lang3-3.14.0.jar
>
> Maybe a later jar?
>
> On 14/10/2024 07:46, Claude Brisson wrote:
>> The test build of Velocity Engine 2.4 is available.
>>
>> No determination as to the quality ('alpha,' 'beta,' or 'GA') of 
>> Velocity Engine 2.4 has been made, and at this time it is simply a 
>> "test build". We welcome any comments you may have, and will take all 
>> feedback into account if a quality vote is called for this build.
>>
>> Release notes:
>>
>> * 
>> https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.4.1/release-notes.html 
>>
>>
>> Distribution:
>>
>>  * 
>> https://dist.apache.org/repos/dist/dev/velocity/velocity-engine/2.4.1/
>>
>> Maven 2 staging repository:
>>
>>  * 
>> https://repository.apache.org/content/repositories/orgapachevelocity-1046/
>>
>> Documentation:
>>
>> * https://velocity.apache.org/engine/2.4.1
>>
>> Sources:
>>
>>  * https://github.com/apache/velocity-engine/releases/tag/2.4.1-rc1
>>
>> A vote regarding the quality of this test build will be initiated 
>> within the next couple of days.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.