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

大作业02 pom文件reimport后无反应 #5

Closed
zijunchen68 opened this issue May 12, 2020 · 8 comments
Closed

大作业02 pom文件reimport后无反应 #5

zijunchen68 opened this issue May 12, 2020 · 8 comments
Assignees

Comments

@zijunchen68
Copy link

无法通过reimport下载依赖

@zijunchen68
Copy link
Author

大作业01是可以正常下载的

无法通过reimport下载依赖

@XZ-X
Copy link
Owner

XZ-X commented May 12, 2020

试一下在命令行里输入mvn compile 看看有没有报错信息?

@zijunchen68
Copy link
Author

试一下在命令行里输入mvn compile 看看有没有报错信息?

有warning 但是正在下载
WARNING:
Some problems were encountered while building the effective model for edu.nju:class-file-reader:jar:1.0
'dependencies.dependency.systemPath' for seec.test.util:parser:jar should not point at files within the project directory, ${project.basedir}/src/test/libs/parser.jar will be unresolvable by dependent projects @ line 45, column 25
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 9, column 21

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

@XZ-X
Copy link
Owner

XZ-X commented May 12, 2020

maven本身应该没问题,等它下载就好了

BTW,
@wym0120 这个warning是不是找不到parser.jar的原因?

@zijunchen68
Copy link
Author

maven本身应该没问题,等它下载就好了

BTW,
@wym0120 这个warning是不是找不到parser.jar的原因?

BUILD SUCCESS之后打开IDEA好像还是会显示没有依赖o(╥﹏╥)o

@wym0120
Copy link
Collaborator

wym0120 commented May 12, 2020

BUILD SUCCESS 运行测试会报Null Pointer Exception吗

maven本身应该没问题,等它下载就好了
BTW,
@wym0120 这个warning是不是找不到parser.jar的原因?

BUILD SUCCESS之后打开IDEA好像还是会显示没有依赖o(╥﹏╥)o

@zijunchen68
Copy link
Author

BUILD SUCCESS 运行测试会报Null Pointer Exception吗

maven本身应该没问题,等它下载就好了
BTW,
@wym0120 这个warning是不是找不到parser.jar的原因?

BUILD SUCCESS之后打开IDEA好像还是会显示没有依赖o(╥﹏╥)o

我重新clone了下文件再compile就好了,谢谢助教

@XZ-X XZ-X closed this as completed May 12, 2020
@wym0120
Copy link
Collaborator

wym0120 commented May 12, 2020

BUILD SUCCESS 运行测试会报Null Pointer Exception吗

maven本身应该没问题,等它下载就好了
BTW,
@wym0120 这个warning是不是找不到parser.jar的原因?

BUILD SUCCESS之后打开IDEA好像还是会显示没有依赖o(╥﹏╥)o

我重新clone了下文件再compile就好了,谢谢助教

在你import maven项目之后,IDEA右下角会提示enable auto-import,一般直接enable就可以解决依赖问题了。实验愉快 xD

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

3 participants