Failed to parse the configuration class: Failed to parse configuration classes; Have know the zha to solve? Please answer!
Now do is a web project, add the applicationcontext. XML,
Error is as follows:
Org. Apache. Catalina. Core. StandardContext listenerStart
Severe: Exception sending the context the initialized the event to the listener instance of the class org. Springframework. Web. Context. ContextLoaderListener
Org. Springframework. Beans. Factory. BeanDefinitionStoreException: Failed to parse the configuration class [. Com. Kuaihai haiban. Configuration. AppConfig]; Nested exception is Java. Lang. IllegalArgumentException: Could not resolve placeholder 'spring. Profiles. The active' value in "the classpath: application - ${spring. Profiles. The active}. The properties of"
The at org. Springframework. Context. The annotation. ConfigurationClassParser. Parse (ConfigurationClassParser. Java: 181)
The at org. Springframework. Context. The annotation. ConfigurationClassPostProcessor. ProcessConfigBeanDefinitions (ConfigurationClassPostProcessor. Java: 308)
The at org. Springframework. Context. The annotation. ConfigurationClassPostProcessor. PostProcessBeanDefinitionRegistry (ConfigurationClassPostProcessor. Java: 228)
The at org. Springframework. Context. Support. PostProcessorRegistrationDelegate. InvokeBeanDefinitionRegistryPostProcessors (PostProcessorRegistrationDelegate. Java: 270)
The at org. Springframework. Context. Support. PostProcessorRegistrationDelegate. InvokeBeanFactoryPostProcessors (PostProcessorRegistrationDelegate. Java: 93)
The at org. Springframework. Context. Support. AbstractApplicationContext. InvokeBeanFactoryPostProcessors (AbstractApplicationContext. Java: 687)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 525)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 443)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 325)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 107)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 4992)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5492)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 901)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 877)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 649)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 1245)
The at org. Apache. Catalina. Startup. HostConfig $DeployDirectory. Run (HostConfig. Java: 1895)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (511) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 266)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1142)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 617)
The at Java. Lang. Thread. The run (Thread. Java: 745)
Under Caused by: Java. Lang. IllegalArgumentException: Could not resolve placeholder 'spring. Profiles. The active' value in "the classpath: application - ${spring. Profiles. The active}. The properties of"
The at org. Springframework. Util. PropertyPlaceholderHelper. ParseStringValue (PropertyPlaceholderHelper. Java: 174)
The at org. Springframework. Util. PropertyPlaceholderHelper. ReplacePlaceholders (PropertyPlaceholderHelper. Java: 126)
The at org. Springframework. Core. The env. AbstractPropertyResolver. DoResolvePlaceholders (AbstractPropertyResolver. Java: 236)
The at org. Springframework. Core. The env. AbstractPropertyResolver. ResolveRequiredPlaceholders (AbstractPropertyResolver. Java: 210)
The at org. Springframework. Core. The env. AbstractEnvironment. ResolveRequiredPlaceholders (AbstractEnvironment. Java: 571)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. ProcessPropertySource (ConfigurationClassParser. Java: 438)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. DoProcessConfigurationClass (ConfigurationClassParser. Java: 271)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. ProcessConfigurationClass (ConfigurationClassParser. Java: 245)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. Parse (ConfigurationClassParser. Java: 190)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. DoProcessConfigurationClass (ConfigurationClassParser. Java: 292)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. ProcessConfigurationClass (ConfigurationClassParser. Java: 245)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. Parse (ConfigurationClassParser. Java: 198)
The at org. Springframework. Context. The annotation. ConfigurationClassParser. Parse (ConfigurationClassParser. Java: 167)
. 22 more
December 15, 2017 afternoon 5:51:37 org. Apache. Catalina. Core. StandardContext startInternal
Severe: the Error listenerStart
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull