hibernate - web service with spring security in java -


i trying secure web service spring , hibernate. here trace of project

and in webappconfig.java i'm writing

@propertysource("classpath:application.properties") @importresource("classpath:spring-security.xml") 

but gives me java.io.filenotfoundexception: class path resource [application.properties] cannot opened because not exist

any appreciated!

the resources folder should in build path.

if working eclipse can in way:

right click on project -> properties 

screenshot

but better convert project maven project.

right click on project -> configure -> convert maven project 

maven create resources folder properly.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -