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

mvn install的时候直接报错了 #1

Open
jaythc opened this issue Jan 23, 2019 · 5 comments
Open

mvn install的时候直接报错了 #1

jaythc opened this issue Jan 23, 2019 · 5 comments

Comments

@jaythc
Copy link

jaythc commented Jan 23, 2019

每次都在这一步失败
framework-server ................................... FAILURE [ 1.226 s]

@lhrimperial
Copy link
Owner

git clone https://github.com/lhrimperial/framework.git
cd framework
mvn install -Dmaven.test.skip=true
git clone https://github.com/lhrimperial/ifarm.git
cd ifarm
mvn install -Dmaven.test.skip=true

@nanjunyu
Copy link

没法跑。java版本改了也没用很奇怪
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project framework-server
: Compilation failure: Compilation failure:
[ERROR] /E:/Workspaces/framework/framework-server/src/main/java/com/github/framework/server/database/redis/RedisClient.java:[102,52] -s
ource 1.5 中不支持 diamond 运算符
[ERROR] (请使用 -source 7 或更高版本以启用 diamond 运算符)
[ERROR] /E:/Workspaces/framework/framework-server/src/main/java/com/github/framework/server/database/redis/JedisShardHandler.java:[93,4
3] -source 1.5 中不支持 diamond 运算符
[ERROR] (请使用 -source 7 或更高版本以启用 diamond 运算符)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :framework-server

@lhrimperial
Copy link
Owner

每次都在这一步失败
framework-server ................................... FAILURE [ 1.226 s]

这里面依赖了其他项目的一个包,在父pom里把它排除掉把,没有影响

@dlxzy
Copy link

dlxzy commented Aug 20, 2020

git clone https://github.com/lhrimperial/framework.git
cd framework
mvn install -Dmaven.test.skip=true
git clone https://github.com/lhrimperial/ifarm.git
cd ifarm
mvn install -Dmaven.test.skip=true

第三步失败了。。。楼主有空的话把项目整整吧,怪可惜的

@lhrimperial
Copy link
Owner

可以跑的,最近还在做docker部署呢,好好检查一下自己的环境,是不是环境问题

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

4 participants