I was learn the MEAP book -- spring in action 5th, every one can download chapter 1 and its code with the below url, free of charge. but I encounter problems when I try use Spring Tool Suite based on Eclipse, I just follow the steps but it shows me two errors. click here to see error pic , why is the location of the second one unknown? I have search the Internet about "the project can not be built until path errors are resolved", I have clicked the "project -> Build Automatically" and then click "project->clean", also I've check there are all valid jar files in libraries path, but none of the tips work for me. And when I try to run by the Boot Dashboard boot dashboard pic, it shows me that Error: Could not find or load main class tacos.TacoCloudApplication. load error pic So could any one pleaseeee help me with it, I download java 8 on my mac and the path is /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk

error image for lombok: enter image description here BTW, I start another project from the spring website--the RESTful API, below is the url, and amazing! The code just works very well and I can run it, so it shouldn't be the problem of my jdk1.8, see pics: enter image description here enter image description here So it seems that it is caused by the code from the Spring in action 5th, which is not functional by itself?

---important update---- I just found that there is no class files inside the lombok jar folder under Maven dependencies, why did this happen and how to fix it? no .class files in lombok jar file

2

1 Answer

Did you do maven update project? Right click the project and choose Maven -> Update Project to get all the required dependencies and then try build and run

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.