Hi,

Me and my team are in the middle of a migration towards Google App Engine 
and have found it near to impossible to complete it. Basically, we had our 
Spring MVC App for java 8 and managed for it to work perfectly on the app 
engine standard local server with jetty but when we upload it to the cloud 
it completely fails to even respond to basic http requests. 

This of course is very off putting (I don´t like the idea of something 
working locally and then not when we uploaded) but after hours of searching 
forums, stackoverflow, etc.. We still haven´t been able to solve the issue.

The main problem, as close as we can get, is that for some reason when we 
deploy in google app engine, it stops recognising the @Components Spring 
annotation. 

To load our configuration we use a programatic model similar to this one:  
 
http://www.codejava.net/frameworks/spring/bootstrapping-a-spring-web-mvc-application-programmatically

We have tried building a few demo apps from 0 and the only way we can get 
them to work is if we explicity declare the servlets/security config in our 
web.xml. 

¿Is there no way that this can work? ¿Is the local app engine standard 
server so different from the cloud server?

Additional info:
- After having it working locally we have deployed the project to app 
engine and when trying to access a simple service get the following error:
Failed startup of context c.g.a.r.j.AppEngineWebAppContext@
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'springSecurityFilterChain' available.

- If we remove the springSecurityFilter (which has had no issues in any 
other environment including the local jetty/app engine server so far and is 
loaded programatically, as i said before) we then get an error saying that:
No handlers matched this URL.
Because of the @Spring notation we know that they should be created 
automatically and don´t understand why they are not. 

¿Is there anything i´m missing here? 

Thanks

Miguel.





-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dbdb7953-7333-417a-9219-65dde7410d97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Miguel Pagan Murphy

Reply via email to