Home > Back-end >  Error: (5, 35) Java: package org. Springframework. Context does not exist
Error: (5, 35) Java: package org. Springframework. Context does not exist

Time:09-15


For help, why can't find this package, clearly I have added the rely on, the left guide library also has spring - the context
Left
Left


This is the project structure:

It looks as if also no problem

Idea off opened several times, may also delete a package to add rely on import, but still appear this error, bald,,,

CodePudding user response:

Me too, clearly what all added, code red, no error will display package, search the blog search to eight pages, not a solution, too dishes

CodePudding user response:

Just tried to run to the command line: MVN spring - the boot: run

CodePudding user response:

refer to the second floor qq_40720580 response:
just tried, to run to the command line: MVN spring - the boot: run

I again in the setting sets the path of maven and warehouse again, and then put in importing maven automatically download the three ticked on, you try it ok

CodePudding user response:

You how the bulid the following error is displayed: how do I

CodePudding user response:

references in the third floor of surging waves rocking fish reply:
Quote: refer to the second floor qq_40720580 response:
just tried, to run to the command line: MVN spring - the boot: run

I again in the setting sets the path of maven and warehouse again, and then put in importing maven automatically download the three ticked on, you try it ok


I think may be you use java11, you may not have the module import the dependent package, so the automatic select import, programming tools help you to automatically add,
  • Related