Hi Brian,
This is indeed already available from Struts 6.4 using the following
configuration option:
struts.parameters.requireAnnotations=true
Kind regards,
Kusal
On Fri, Oct 25, 2024 at 2:24 PM Brian Andle wrote:
>
> I know off topic so sending directly. Should the @StrutsParameter annotation,
After some mucking around at my end M9 works great, thanks everyone!
Greg
Ok, it seems be a dev mode thing.
If I starup with it set
..previous
it seems to work, then if I remove it
..previousZ
it then seems to cause the 404 to show.
On 31/10/2024 14:48, Burton Rhodes wrote:
Did you remove your "/.m2/repository" directory and rebuild? Sometimes
that does the tri
Did you remove your "/.m2/repository" directory and rebuild? Sometimes
that does the trick if you think it's a jar issue with maven.
-- Original Message --
From "Greg Huber"
To dev@struts.apache.org
Date 10/31/2024 9:45:58 AM
Subject Re: error response on missing allowed-methods in
Maven does the jars.
Just refreshed everything, still doing it, I will try and debug it.
Unable to show problem report: java.lang.NullPointerException: Cannot
invoke "freemarker.template.Template.process(Object, java.io.Writer)"
because "this.template" is null Class:
org.apache.struts2.dispat
I just checked locally and it looks good with the latest Struts 7
SNAPSHOT, I would assume you must have some Freemarker leftovers, do
you use Maven to control dependencies?
czw., 31 paź 2024 o 14:43 Greg Huber napisał(a):
>
> Testing with v7 m9.
>
> Try with a method present but with and a missi
Testing with v7 m9.
Try with a method present but with and a missing **
I see this 404:
Unable to show problem report: java.lang.NullPointerException: Cannot
invoke "freemarker.template.Template.process(Object, java.io.Writer)"
because "this.template" is null Class:
org.apache.struts2.dispat
404 is good, NPE is bad, let me try to reproduce this.
pt., 25 paź 2024 o 12:56 Greg Huber napisał(a):
>
> I noticed, if I have a missing allowed-methods in my struts.xml for DMI,
> I get this 404 error
>
> Status Code 404
>
> Message: Unable to show problem report: java.lang.NullPointerException
Maybe the changes between m7/m9 breaks the pom, as I have to manually
copy the jar now.
On 31/10/2024 09:41, Kusal Kithul-Godage wrote:
FreeMarker version 2.3.33 is required
On Thu, Oct 31, 2024 at 7:56 PM Greg Huber wrote:
I now get this error
java.lang.NoClassDefFoundError:
freemarker/ext
FreeMarker version 2.3.33 is required
On Thu, Oct 31, 2024 at 7:56 PM Greg Huber wrote:
>
> I now get this error
>
> java.lang.NoClassDefFoundError:
> freemarker/ext/jakarta/servlet/WebappTemplateLoader
>
> in core pom.xml differences from m7 last time
>
> m9
>
>
> org.freemarker
>
I now get this error
java.lang.NoClassDefFoundError:
freemarker/ext/jakarta/servlet/WebappTemplateLoader
in core pom.xml differences from m7 last time
m9
org.freemarker
freemarker
m7
org.apache.struts
struts2-freemarker-jakarta
11 matches
Mail list logo