0

i have a maven project then i'm manually added a 'src/main/resources' directory and application.properties but it can't read the application.properties file;

How can i convert my maven project to spring boot project ?

  • 1
    http://stackoverflow.com/questions/39245732/java-lang-noclassdeffounderror-org-springframework-core-env-configurableenviron/39246493 please use these steps to create your spring - boot application and let know. – Praveen Kumar K S Feb 08 '17 at 01:15
  • check you jar to see if application.properties file preset – ravthiru Feb 08 '17 at 01:55

1 Answers1

0

You need to say your IDE that src/main/resources is a source folder.

thopaw
  • 3,796
  • 2
  • 17
  • 24