Project Scenario(项目场景):
I want to create a Maven project with IDEA to practice writing UDF functions and upload it to hdfs, so I need to initialize the maven project.
(本人想用IDEA创建一个Maven项目来练习UDF函数的编写,并上传到hdfs,所以需要对maven项目进行初始化)
Description(问题描述)
During the initialization of maven project, it is always stuck in the step of Generating project in Batch mode and cannot be loaded properly.
(在maven项目初始化的过程当中,一直卡在Generating project in Batch mode这个步骤,无法正常加载。)
The blocking code and image contents:
(阻塞代码和图片内容如下):
[INFO] Generating project in Batch mode
Solving(解决方案):
Adding a line of code: -DarchetypeCatalog=internal in VM Options, as shown in the following figure.
(按照下图的步骤,在VM Options中,添加一行代码:-DarchetypeCatalog=internal)