You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Khurram (JIRA)" <ji...@apache.org> on 2017/03/15 04:37:41 UTC

[jira] [Created] (WW-4758) @autowired does not work since Struts 2.3.28.1

Khurram created WW-4758:
---------------------------

             Summary: @autowired does not work since Struts 2.3.28.1 
                 Key: WW-4758
                 URL: https://issues.apache.org/jira/browse/WW-4758
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Spring
    Affects Versions: 2.3.29
            Reporter: Khurram
             Fix For: 2.3.28


I am trying to run on Tomcat a Spring 3 + Struts 2 + Hibernate web app, but it fails to start with NullPointerException for autowired field. This issue is happening after release of 2.3.28.1 So please help

2017-03-15 15:28:35,308 [http-bio-8009-exec-1] ERROR au.com.presentation.struts.action.tiles.landing.LandingSummaryPreparer - Error Id:NSMX10866180091668992555086487642
java.lang.NullPointerException
	at au.com.lasoo.presentation.struts.action.lasoov3.tiles.landing.LandingSummaryPreparer.performPreparer(LandingSummaryPreparer.java:142

and in my code I have autowired that always returning null
@Autowired
private Services services;





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)