IDEA Error: (3, 31) java: absent packages com.born.my.shop.domain

A Solutions, is your package path although there are, but this may not be a path to the root directory, explain the operation of IDEA, it is that you did not expect your root directory to SourceRoot

A possible cause of the error is likely that you manually create a Maven structure src / main / java, but they forget to cancel the src of SourceRoot identity, added to the main, block a lot of time looking anxious will also puzzling

Guess you like

Origin www.cnblogs.com/akanga/p/11716954.html