hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found the copy the spring jar (spring-aop, ...) solved the problem for the hosted mode. HTH
On Tue, Jun 2, 2009 at 3:58 PM, tim.clymer <tim.cly...@gmail.com> wrote: > > As a follow up, I switched to -noserver mode and it works just fine > now. Must've been a conflict with running it in the bundled jetty. > Thanks for the tips! > > On May 14, 2:36 pm, "tim.clymer" <tim.cly...@gmail.com> wrote: > > Sure. I'm using Maven2 for my dependency management and project > > structure, though I do have myspringconfig files and web.xml in the > > GWT /war directory to simplify hosted mode. I use Eclipse 3.4.2 as my > > development IDE. I'm using the latest GWT 1.6 release and these are > > myspringdependencies: > > > > <dependency> > > <groupId>org.springframework.security</groupId> > > <artifactId>spring-security-core</artifactId> > > <version>2.0.4</version> > > </dependency> > > <dependency> > > <groupId>org.springframework.security</groupId> > > <artifactId>spring-security-core-tiger</artifactId> > > <version>2.0.4</version> > > </dependency> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring-core</artifactId> > > <version>2.5.6</version> > > </dependency> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring</artifactId> > > <version>2.5.6</version> > > </dependency> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring-context</artifactId> > > <version>2.5.6</version> > > </dependency> > > <dependency> > > <groupId>org.springframework</groupId> > > <artifactId>spring-webmvc</artifactId> > > <version>2.5.6</version> > > </dependency> > > <dependency> > > <groupId>net.entropysoft.transmorph</groupId> > > <artifactId>transmorph</artifactId> > > <version>2.1.2</version> > > </dependency> > > <dependency> > > <groupId>aspectj</groupId> > > <artifactId>aspectjrt</artifactId> > > <version>1.5.3</version> > > </dependency> > > > > Basically, I'm trying to use the latest of everything. Hope this > > helps, and thanks for your help. > > > > Tim > > > > On May 14, 9:08 am, Salvador Diaz <diaz.salva...@gmail.com> wrote: > > > > > > > > > Could you share more information with us ? It'll be difficult to help > > > without knowing your project structure, the tools you're using > > > (eclipse ? maven ? GEP ? ant ? netbeans), and how you're launching/ > > > debugging your project. > > > > > Cheers, > > > > > Salvador > > > > > On 14 mai, 14:49, "tim.clymer" <tim.cly...@gmail.com> wrote: > > > > > > Thanks for the tip. I think I may try that just to avoid having to > > > > redeploy every time I want to test. > > > > > > Can anyone who's familiar with the inner workings of GWT speak as to > > > > why this may be happening? > > > > > > Tim > > > > > > On May 13, 8:38 am, Arthur Kalmenson <arthur.k...@gmail.com> wrote: > > > > > > > It could very well be. When running a more complex server side > (i.e. > > > > > withSpringSecurity, etc), it's usually recommended that you use > > > > > -noserver. InGWT1.5 with the Google Codegwt-maven plugin, you could > > > > > set it up to automatically copy configurations over to the embedded > > > > > Tomcat. I'm not sure how it works in 1.6. > > > > > > > -- > > > > > Arthur Kalmenson > > > > > > > On Tue, May 12, 2009 at 8:43 AM, tim.clymer <tim.cly...@gmail.com> > wrote: > > > > > > > > I've been seeing a strange issue when attempting to useGWTwith > > > > > >SpringSecurity as described here: > > > > > >http://code.google.com/p/gwt-incubator-lib/ > > > > > > > > I can deploy the application as a war and run it just fine in > Tomcat, > > > > > > however when I try to run it in hosted mode with jetty I get the > > > > > > following error: > > > > > > > > > org.springframework.beans.factory.parsing.BeanDefinitionParsingException: > > > > > > Configuration problem: Unable to locateSpringNamespaceHandler for > > > > > > XML schema namespace [ > http://www.springframework.org/schema/security] > > > > > > Offending resource: ServletContext resource [/WEB-INF/aop- > > > > > > applicationContext.xml] > > > > > > > > I've posted this to theSpringforums and they mention it's a > > > > > > classpath issue, that there may be more than one instance of the > > > > > >SpringSecurity jars on my classpath. I've double-checked my jars > and > > > > > > this doesn't seem to be an issue (especially since I package them > with > > > > > > my app and it works fine). I'm wondering if somehow jetty > orGWTis > > > > > > using a class that might be interfering with the resolution of > the > > > > > > namespace. Prior to incorporatingsecurityin my app it was > running > > > > > > fine in hosted mode, even with otherSpringbeans, so this makes me > > > > > > think it's related toSpringSecurity (and not justSpringitself) > > > > > > somehow. > > > > > > > > Any ideas? > > > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---