maven compiler not being given, idea prompted an error

Problem Description: pull the project from a remote repository to local, idea given all kinds of notes and class can not be found, because the jar package can not find here, but maven compiler was able to pass.

Solution: File -> Project Structure -> Modules ->

 

 
Add project dependencies can rely on. I was to add items into it.

Guess you like

Origin www.cnblogs.com/lixiaochao/p/12459992.html