Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openspg,本地idea启动报错 ,object KGDSLParser is not a member of package com.antgroup.openspg.reasoner #473

Closed
WxSmileWind opened this issue Jan 14, 2025 · 2 comments

Comments

@WxSmileWind
Copy link

报错信息:
object KGDSLParser is not a member of package com.antgroup.openspg.reasoner
import com.antgroup.openspg.reasoner.KGDSLParser._

@19920716
Copy link

1、Install ANTLR Tool
2、. Right click to select KGDSL g4 file, select generate ANTLR, KGDSL - below the parser generates a gen code folder, the file copy to com. The generated from the following antgroup. Openspg. Below the reasoner, Set the antlr4 package to Source Root

@andylau-55
Copy link
Collaborator

Please refer to the document https://openspg.yuque.com/ndx6g9/docs_en/mudrfu5ibk4eh26g#jcGsb. Complete the installation of the pre-dependency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants