struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nick (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4155) package.properties not getting loaded
Date Fri, 26 Jul 2013 12:01:53 GMT

    [ https://issues.apache.org/jira/browse/WW-4155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720710#comment-13720710
] 

nick commented on WW-4155:
--------------------------

Sorry, this issue i'm closing, this is due to two different jars having package.properties
under same location, so its getting conflicted. 
                
> package.properties not getting loaded
> -------------------------------------
>
>                 Key: WW-4155
>                 URL: https://issues.apache.org/jira/browse/WW-4155
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.15, 2.3.15.1
>         Environment: Jboss AS7 + Eclipse IDE+ Spring + Unbuntu
>            Reporter: nick
>
> I have my package.properties file under com.mycomp.prod.web.actions package, where my
action classes resides under the same package under different sub packages. This is working
working fine till strust2-2.3.4 but with the current recent releases on wards i'm facing this
problem where my property values are not getting read from package.properties (in frontend
i can see only property key not values) 
> There is no error but showing some warning of property not found and using default value
> {noformat}
> 16:15:36,123 WARN  [org.apache.struts2.util.TextProviderHelper] (http-localhost/127.0.0.1:8080-1)
The first TextProvider in the ValueStack (org.egov.web.actions.dms.NotificationGroupAction)
could not locate the message resource with key 'lbl.notifgrpmstr'
> 16:15:36,124 WARN  [org.apache.struts2.util.TextProviderHelper] (http-localhost/127.0.0.1:8080-1)
The default value expression 'lbl.notifgrpmstr' was evaluated and did not match a property.
 The literal value 'lbl.notifgrpmstr' will be used.
> 16:15:36,188 WARN  [org.apache.struts2.util.TextProviderHelper] (http-localhost/127.0.0.1:8080-1)
The first TextProvider in the ValueStack (org.egov.web.actions.dms.NotificationGroupAction)
could not locate the message resource with key 'lbl.notifgrpmstr'
> 16:15:36,189 WARN  [org.apache.struts2.util.TextProviderHelper] (http-localhost/127.0.0.1:8080-1)
The default value expression 'lbl.notifgrpmstr' was evaluated and did not match a property.
 The literal value 'lbl.notifgrpmstr' will be used.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message