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

关于项目打包时不能正确构建包的bug #12

Open
huoji555 opened this issue Apr 10, 2018 · 2 comments
Open

关于项目打包时不能正确构建包的bug #12

huoji555 opened this issue Apr 10, 2018 · 2 comments

Comments

@huoji555
Copy link
Owner

打包时会报相应的错误,提示找不到程序包

@huoji555
Copy link
Owner Author

打包时不能正确构建,是本地maven库中不能正确找到相应的包,如果引用的是外部包的话,需要将外部jar包打包到maven库中去(本次是因为后台验证码所导致的问题)

附录(将外部包打包到maven库的方法);
mvn install:install-file -Dfile=D:\mvn\spring-context-support-3.1.0.RELEASE.jar -DgroupId=org.springframework-DartifactId=spring-context-support -Dversion=3.1.0.RELEASE -Dpackaging=jar //原包是D:\mvn\spring-context-support-3.1.0.RELEASE.jar

@huoji555
Copy link
Owner Author

服务器部署后,需要对数据库授权才能 上传文件,不然会报not allowed connection

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

1 participant