It turns out my obfuscation tool was removing the directory entries from my jar file. Once I configured things to keep the directories entries, stripes now finds the action beans.
Aaron - thanks for pointing me in the right direction! feh wrote: > > > My jar file doesn't have any entries that end in '/'. I don't know if I've > ever seen a jar file with entries like that. > > I don't see an option on the jar command that seems to address this - > could you explain how such entries could be included in the jar file? > > Thanks! > > > > Aaron Porter-3 wrote: >> >> If you run "jar -tf myjar.jar" do you have entries that end in "/" like >> "com/myproject/stripes/" ? If you don't Stripes won't be able to scan >> the classpath because it uses directory entries IIRC. >> >> Aaron >> >> feh wrote: >>> Could you expand on this, please? The jar file isn't being created by >>> eclipse, but it's possible stripes is looking for something that isn't >>> in >>> there. >>> >>> Thanks. >>> >>> >>> >>> Aaron Porter-3 wrote: >>> >>>> If you're creating the JAR from Eclipse make sure the "Add directory >>>> entries" checkbox is checked. Otherwise Stripes has a hard time finding >>>> things. >>>> >>>> Aaron >>>> >>>> feh wrote: >>>> >>>>> Hi folks. >>>>> >>>>> I recently upgraded from Stripes 1.4.2 to 1.5.1, and I'm now >>>>> experiencing >>>>> a >>>>> problem w/ URL binding that didn't occur before. >>>>> >>>>> I have a form tag, like so: >>>>> >>>>> <stripes:form method="post" action="/Login.action"> >>>>> >>>>> When the LoginActionBean class is located under WEB-INF/classes, >>>>> stripes >>>>> finds it and executes it properly. If I place that class in a jar file >>>>> and >>>>> place it in WEB-INF/lib, I get the error: >>>>> >>>>> 2009-09-01 09:42:45,524 [http-8080-Processor25] ERROR >>>>> net.sourceforge.stripes.tag.FormTag - Could not locate an ActionBean >>>>> that >>>>> was bound to the URL [/Login.action]. Without an ActionBean class >>>>> Stripes >>>>> cannot determine whether the ActionBean is a wizard or not. As a >>>>> result >>>>> wizard behaviour will be disabled. >>>>> >>>>> I've read the upgrading.txt file that comes w/ the 1.5.1 download, but >>>>> I >>>>> didn't see an explanation for this behavior. >>>>> >>>>> Any help would be much appreciated! >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>> 30-Day >>>> trial. Simplify your report design, integration and deployment - and >>>> focus >>>> on >>>> what you do best, core application coding. Discover what's new with >>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>> _______________________________________________ >>>> Stripes-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/stripes-users >>>> >>>> >>>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> >> > > -- View this message in context: http://www.nabble.com/ActionBean-binding-problem-tp25243331p25259323.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
