Exception in thread “main” java.lang.IllegalAccessException: Class org.springframework.boot.loader.MainMethodRunner can not access a member of class com.freight.FreightApplication with modifiers “public static”
异常如下:Exception in thread “main” java.lang.IllegalAccessException: Classorg.springframework.boot.loader.MainMethodRunner can not access amember of class com.freight.FreightApplication with modifier...