I have a view page for displaying some already persisted data, this page most
of the time loads without any error (with the same set of data) and rarely
throws the exception which i have shared here. 75% time i've experienced
this exception when there is class reload happens (as a part of hot
deplo
On 1/3/2018 9:58 AM, Yasser Zamani wrote:
>
>
> On 1/2/2018 10:31 PM, Yasser Zamani wrote:
>>
>>
>> On 1/2/2018 9:26 PM, Yasser Zamani wrote:
>>> Illegal field modifiers in class
>>> org/apache/struts2/json/JSONWriter: 0xA
>>
>> I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but t
That's why i have given the title as Unknow error , the one possible cause i
can think of is, i experienced mostly when i'm doing hot deployment to some
service classes (but that class is nowhere referenced in the struts2 Action
class )
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-U
2018-01-03 7:23 GMT+01:00 Yasser Zamani :
> On 1/3/2018 1:08 AM, José Antonio Delgado Trujillo wrote:
>> If you have a form linked to a bean using key attribute, then when you
>> submitted, must you instantiate the bean before the call action populate the
>> properties? Or Strust2 instantiate aut
On 1/2/2018 10:31 PM, Yasser Zamani wrote:
>
>
> On 1/2/2018 9:26 PM, Yasser Zamani wrote:
>> Illegal field modifiers in class
>> org/apache/struts2/json/JSONWriter: 0xA
>
> I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the
> fields in an interface are implicitly public stat
On 1/3/2018 1:08 AM, José Antonio Delgado Trujillo wrote:
> If you have a form linked to a bean using key attribute, then when you
> submitted, must you instantiate the bean before the call action populate the
> properties? Or Strust2 instantiate automatically after you call the action.
You mu
2018-01-02 22:38 GMT+01:00 José Antonio Delgado Trujillo :
> If you have a form linked to a bean using key attribute, then when you
> submitted, must you instantiate the bean before the call action populate the
> properties? Or Strust2 instantiate automatically after you call the action.
>
>
>
On 1/3/2018 1:30 AM, José Antonio Delgado Trujillo wrote:
> Suppose that i have a nested Bean in a model class.
>
>
> public Class Bean_B{
> private String text;
> private int number;
> ...
> }
>
> public Class Bean_A{
> private Bean_B beanB;
> ...
> }
>
> A form
>
>
>
>
On 1/2/2018 10:38 PM, José Antonio Delgado Trujillo wrote:
> So produces the next error:
> 18:27:10,990 ERROR [stderr] (default task-9) Unexpected Exception caught
> setting 'submit' on 'class uoc.jdelgadot.loginstruts.action.Login: Error
> setting expression 'submit' with value ['Acceder', ]
I think Strus2 don’t instantiate the bean so you must instantiate perhaps in
the prepare method or in the definition of the property class.
> On 2 Jan 2018, at 21:38, José Antonio Delgado Trujillo
> wrote:
>
> If you have a form linked to a bean using key attribute, then when you
> submitted,
Suppose that i have a nested Bean in a model class.
public Class Bean_B{
private String text;
private int number;
...
}
public Class Bean_A{
private Bean_B beanB;
...
}
A form
…
When i submit the form the action class populate the nested properties text and
If you have a form linked to a bean using key attribute, then when you
submitted, must you instantiate the bean before the call action populate the
properties? Or Strust2 instantiate automatically after you call the action.
//The method execute of the A class action
public class A e
I have a form with several tags using the attribute key.
As it is said in getting started / message resource file
Key is used to substitute tag’s value and label attributes.
For example:
To put the tag label Struts2 look for property file.
To put the tag value Struts2 look for setName of a bean
On 1/2/2018 9:26 PM, Yasser Zamani wrote:
> Illegal field modifiers in class
> org/apache/struts2/json/JSONWriter: 0xA
I'm confused :( 0xA means `JVM_ACC_PRIVATE | JVM_ACC_STATIC` but the
fields in an interface are implicitly public static final i.e.
org/apache/struts2/json/JSONWriter.ENUM_AS_
I'm already using the latest of JDK 8 :- jdk1.8.0_152 (Linux)
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-User-f3426046.html
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-m
On 1/2/2018 8:36 PM, sreekanth wrote:
> Caused by: java.lang.ClassFormatError: Failed to link
> org/apache/struts2/json/DefaultJSONWriter (Module "deployment.my-app.ear"
> from Service Module Loader): Failed to link
> org/apache/struts2/json/JSONWriter (Module "deployment.my-app.ear" from
> Servi
Hi,
I'm using struts2-2.5.14.1 in my EAR deployed in wildfly server, rarely
we are getting the following error when i'm accessing struts2 page.
Caused by: Unable to load configuration. - bean -
vfs:/content/my-app.ear/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml:28:30
at
com
17 matches
Mail list logo