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 GitHub by selement
, 10 months ago
class path resource [src/main/webapp/WEB-INF/sitemesh.xml] cannot be resolved to URL because it does not exist
via Stack Overflow by Mamun
, 7 months ago
class path resource [src/main/webapp/WEB-INF/sitemesh.xml] cannot be resolved to URL because it does not exist
via Stack Overflow by Evgeny Smirnov
, 1 year ago
class path resource [src/main/webapp/WEB-INF/sitemesh.xml] cannot be resolved to URL because it does not exist
via Stack Overflow by Punter Vicky
, 2 months ago
class path resource [mock/CResponse/CResponse_1.json] cannot be resolved to URL because it does not exist
via GitHub by AbhiMangal
, 1 year ago
class path resource [raw_sentences.txt] cannot be resolved to URL because it does not exist
via Coderanch by Ahsan Bagwan, 1 year ago
class path resource [banner-img.png] cannot be resolved to URL because it does not exist
java.io.FileNotFoundException: class path resource [src/main/webapp/WEB-INF/sitemesh.xml] cannot be resolved to URL because it does not exist	at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:187)	at org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:48)	at org.springframework.mock.web.MockServletContext.getRealPath(MockServletContext.java:458)	at org.grails.web.sitemesh.Grails5535Factory.(Grails5535Factory.java:78)	at org.grails.web.servlet.view.SitemeshLayoutViewResolver.loadSitemeshConfig(SitemeshLayoutViewResolver.java:105)	at org.grails.web.servlet.view.SitemeshLayoutViewResolver.init(SitemeshLayoutViewResolver.java:67)	at org.grails.web.servlet.view.SitemeshLayoutViewResolver.onApplicationEvent(SitemeshLayoutViewResolver.java:146)	at org.grails.web.servlet.view.SitemeshLayoutViewResolver.onApplicationEvent(SitemeshLayoutViewResolver.java:42)	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382)	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336)	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:877)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544)	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)	at grails.boot.GrailsApp.run(GrailsApp.groovy:55)	at grails.ui.command.GrailsApplicationContextCommandRunner.run(GrailsApplicationContextCommandRunner.groovy:55)	at grails.ui.command.GrailsApplicationContextCommandRunner.main(GrailsApplicationContextCommandRunner.groovy:102)