[java] 未能部署Maven项目,没有可用的连接器



0 Answers

Question

我试图部署一个Maven项目,但我得到这个错误:

       ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.745 s
[INFO] Finished at: 2014-07-14T00:52:07+04:00
[INFO] Final Memory: 12M/222M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project myProject: Failed to deploy artifacts/metadata: No connector available to access repository myRepo (jdbc:mysql://localhost:3306/) of type default using the available factories AetherRepositoryConnectorFactory, WagonRepositoryConnectorFactory -> [Help 1]

**我的插件/扩展包括以下内容:

maven-compiler-plugin 3.1

maven-war-plugin 2.1.1

jboss-as-maven-plugin 7.1.1

maven-deploy-plugin 2.5

wagon-ssh 1.0-beta-7

**我在模块下创建了一个com / mysql / main文件夹,并且修改了模块文件以包含mySQL连接器名称。 我错过了什么吗?

我感谢您的帮助。




Related