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

导入问题 #1

Open
zhang-lingyun opened this issue Mar 22, 2017 · 9 comments
Open

导入问题 #1

zhang-lingyun opened this issue Mar 22, 2017 · 9 comments

Comments

@zhang-lingyun
Copy link

导入时候不能识别出来

@peer44
Copy link
Owner

peer44 commented Mar 23, 2017

这是一个maven工程

@zhang-lingyun
Copy link
Author

噢 明白了,感谢作者!!!

@peer44
Copy link
Owner

peer44 commented Apr 25, 2017

Eclipse 导入
File --> Import -->选择Maven --> Existing Maven Projects
确保你的eclispe配置好了maven

@zhang-lingyun
Copy link
Author

恩 已经弄好了 O(∩_∩)O谢谢

@andy4ja
Copy link

andy4ja commented May 30, 2017

下不下来能不能将项目发我邮箱,[email protected]

可以下载的啊,我刚试过

@peer44
Copy link
Owner

peer44 commented May 31, 2017

可以下载,我刚试过

@q379811362
Copy link

q379811362 commented Feb 7, 2018

哥。我把你这jrbac项目下载下来了。然后也按你的导入方法全部做了。
现在有个问题:所有文件中用到 import org.apache.commons.lang3.StringUtils; 的地方全报红。但又能点进去找到这个类。
还有就是项目成功打起来了。输入了用户名和密码登录,然后就报:
HTTP Status 500 - Handler processing failed; nested exception is java.lang.Error: Unresolved compilation problem:

这是后台打印的:
2018-02-07 18:22:19:504 DEBUG [login] com.jrbac.controller.LoginController 59 -----登录页面-----
gtlog: GET_URL:http://api.geetest.com/register.php?gt=84fd748e0aae022ef5d727e5e5120425&user_id=test
gtlog: register_result:a09f40d8e7078e98f3f3133d211a67be
gtlog: challenge:9a972cc8c09c97e4c5d49aeae63866c3
二月 07, 2018 6:23:19 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [mvc] in context with path [/jrbac] threw exception [Handler processing failed; nested exception is java.lang.Error: Unresolved compilation problem:
StringUtils cannot be resolved
] with root cause
java.lang.Error: Unresolved compilation problem:
StringUtils cannot be resolved

at com.jrbac.controller.LoginController.doLogin(LoginController.java:83)

未完。。。
还请哥指点。

哥。问题解决了。我把pom文件中commons.lang3的版本升级到3.6了。
进去玩了一下。各功能都正常。现在准备好好缕缕哥的代码。谢谢。。。

@peer44
Copy link
Owner

peer44 commented Feb 11, 2018

从你的报错来看是StringUtils没导入,你换个版本试试呢,那个是apache的工具类

@donggeyao
Copy link

您好,我导入项目之后,compile项目的时候,总是报这个错误。
[WARNING] The POM for commons-codec:commons-codec:jar:1.9 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
这个是哪个冲突了?我用的是maven3.5.0版本。谢谢了。

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

5 participants