Create REST APIs With Spring And Java Skill Path - Spring Project Layout and Running Locally - Help please!

another update if anyone needs to know… the java home path should be C:\Program Files\Java\jdk-19 without bin on the end.

I think this section of the course needs to be rewritten, it has taken me a few hours on different days to figure this all out. I think saying ‘if you run into errors, check xyz’ is not really beginner-friendly. You’d need an explanation on how to check xyz.

Update, now I am getting this error:

JAVA_HOME = "C:\Program Files\Java\jdk-19\bin" 
Please set the JAVA_HOME variable in your environment to match the 
location of your Java installation. 

I am really stuck on the chapter " Spring Project Layout and Running Locally".

I can’t get the project to run. I do feel like the instructions are not very clear at all.

For example, first I had an error about ‘mvn’ and ‘mvnw’ not being recognised. It is because you need to install them - something that wasn’t mentioned in the article.

I got this working but now I am getting a different error about “Java Home not found in your environment”. it is in my environment, so I don’ t know why it isn’t working. I’d welcome some help if anyone is able to do that!

Thanks

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.