Java maven在创建原型时失败

Java maven在创建原型时失败,java,maven,velocity,Java,Maven,Velocity,我尝试使用Maven quickstart原型在IntelliJ IDEA中创建一个项目,但始终失败: [ERROR] ResourceManager.getResource() parse exception [ERROR] org.apache.velocity.exception.ParseErrorException: Lexical error, Encountered: "\ufffd" (65533), after : "" at archetype-resources/sr

我尝试使用Maven quickstart原型在IntelliJ IDEA中创建一个项目,但始终失败:

[ERROR] ResourceManager.getResource() parse exception

[ERROR] org.apache.velocity.exception.ParseErrorException: Lexical error,   Encountered: "\ufffd" (65533), after : "" at archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line 16, column 21]
以下是完整的输出:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Lexical error,   Encountered: "\ufffd" (65533), after : "" at archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line 16, column 21] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] Maven execution terminated abnormally (exit code 1)

您的本地存储库可能已损坏。关闭intelliJ,删除相关部分(包含原型)并重试。得到相同的结果。我还删除了本地回购协议,但仍然一无所获。