You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Phil Zoio (JIRA)" <ji...@apache.org> on 2010/03/03 21:40:27 UTC
[jira] Created: (TAP5-1041) Cannot use existing Spring definition
with GenericWebApplicationContext
Cannot use existing Spring definition with GenericWebApplicationContext
-----------------------------------------------------------------------
Key: TAP5-1041
URL: https://issues.apache.org/jira/browse/TAP5-1041
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-spring
Affects Versions: 5.0.19
Reporter: Phil Zoio
SpringModuleDef.locateExternalContext has following code:
ConfigurableWebApplicationContext context = (ConfigurableWebApplicationContext) servletContext.getAttribute(
WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
This means you cannot use existing contexts based on GenericWebApplicationContext, which is the recommended WebApplicationContext class to use when constructing your application context programmatically. See the API docs: http://static.springsource.org/spring/docs/3.0.0.M2/javadoc-api/org/springframework/web/context/support/GenericWebApplicationContext.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.