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

框架集成后针对部分引用会出现找不到的情况 #4

Closed
zhangxiao918 opened this issue May 15, 2016 · 3 comments
Closed

Comments

@zhangxiao918
Copy link

最近在了解Mongo,从Github导入到IntellJ后发现有类找不到的情况,例如:
org.jfaster.mango.parser.AbstractExpression 找不到父类SimpleNode,同时也找不到Parse,基本上【org.jfaster.mango.parser】 包下的类都是报错的,这块的依赖库定义没有体现在pom.xml中,能否明确一下这块的引用吗? 谢谢了!

@liangyanghe
Copy link
Member

你好,Mango框架使用了javacc进行词法分析和语法分析,这部分代码是由javacc生成的。一般情况下在导入代码的过程中这部分代码会由maven自动生成,请提供一下maven和IntelLJ版本号

@liangyanghe
Copy link
Member

hi,为解决有些maven版本和javacc插件冲突的问题,我已经将javacc生成的代码拷贝到了org.jfaster.mango.parser包下,请更新到最新代码,再用IDE导入

@zhangxiao918
Copy link
Author

hi,liangyanghe,更新代码后,问题解决了! 谢谢!

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

No branches or pull requests

2 participants