org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mmt.application.PwaApplication]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by pokemon blue
, 1 year ago
Failed to parse configuration class [com.mmt.application.PwaApplication]; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"
via Stack Overflow by user2887739
, 10 months ago
Failed to parse configuration class [org.springframework.boot.autoconfigure.SpringBootApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/social/config/annotation/SocialConfigurerAdapter.class] cannot be opened because it does not exist
via Stack Overflow by David Vincent
, 4 months ago
Failed to parse configuration class [com.example.wp.WpCoreApplication]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/data/neo4j/config/Neo4jConfiguration.class] cannot be opened because it does not exist
via Stack Overflow by Ramu
, 3 months ago
Failed to parse configuration class [com.qentelli.ted.BootGradleApplication]; nested exception is java.io.FileNotFoundException: class path resource [groovy/lang/GroovyObject.class] cannot be opened because it does not exist
via Stack Overflow by aoyuan zhu
, 9 months ago
Failed to parse configuration class [com.pdd.service.poppy.api.PoppyApiApplicationContext]; nested exception is java.io.FileNotFoundException: class path resource [poppy-api-env.properties] cannot be opened because it does not exist
via Stack Overflow by Lakshmi
, 6 months ago
Failed to parse configuration class [SpringBootExample]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'errorPageFilter' for bean class
java.lang.IllegalArgumentException: Could not resolve placeholder 'catalina.home' in string value "file:${catalina.home}/conf/pwaHLP.properties"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:204)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:178)
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:359)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:255)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:191)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:272)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:168)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
at com.mmt.application.PwaApplication.main(PwaApplication.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)

Users with the same issue

2 times, 14 hours ago
Once, 4 days ago
2 times, 6 days ago
37 times, 1 week ago
4 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.