Understanding SpringMVC Classpath on Eclipse

Asked 2 years ago, Updated 2 years ago, 85 views

Thank you for your help.

Currently developing the SpringMMVC web application on Eclipse 4.6,
I specified the application.propatiys bean on the servlet-context.xml file to specify the property file, but I am not sure how to specify the classpath.

The folder structure is very different, and it is not directly a resource folder from the main.
In this case, where is the top-level directory that classpath specifies?
I would appreciate it if you could let me know if anyone knows.
<beans:value>classpath:application.properties</beans:value>

java eclipse spring

2022-09-29 22:47

1 Answers

Sorry for the trouble.
When classpass was specified, a folder named classes under WEB-INF was inserted.
Thank you very much


2022-09-29 22:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.