-
Oct 28th, 2009, 01:17 AM
#11
That's a head-scratcher for sure.
Is there anything special about your com.travel.nrtp.util.Test class? It's not abstract or anything like that, is it?
-
Oct 28th, 2009, 10:59 AM
#12
Got it to work
I got it to work by moving the bean definition of Test :
<bean id ="test" class = "com.travel.nrtp.util.Test"/> from the GateAndTime-portlet.xml file to the common.xml file. For autowiring spring seems to only take the common or application file into picture and not the portlet specific file.
The strange thing is if i dont use autowiring but use the no wiring using bean definitions i can place both the Controller definition and the Test definition in the GateAndTime-portlet.xml and it works.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules