我的第一种编程语言ANTLR包org.antlr.v4.runtime不存在

问题描述 投票:0回答:1

enter image description here

我尝试使用IntelliJ IDEA使用ANTLR4创建我的第一种编程语言。一切正常,直到我更改了从gen生成所有输出到目录src的输出目录。我收到一个错误:

错误:(3,28)java:包org.antlr.v4.runtime不存在

C:\Users\PanKomputer>echo %CLASSPATH%
.;‪E:\Pobrane\antlr-4.7.1-complete.jar
intellij-idea antlr
1个回答
0
投票

[E:\Pobrane\antlr-4.7.1-complete.jar需要配置为库,并且added to the module dependencies

© www.soinside.com 2019 - 2024. All rights reserved.