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)


Consequence(结果):


在使用IDEA创建Maven项目并尝试编写UDF函数时,遇到项目初始化失败的问题,具体表现为卡在GeneratingprojectinBatchmode步骤。为了解决这个问题,用户添加了-DarchetypeCatalog=internal到VMOptions中,成功解决了加载问题,从而能继续进行开发和上传到hdfs的操作。

被折叠的 条评论
为什么被折叠?



