无法部署maven项目,没有可用的连接器

时间:2014-07-14 06:25:02

标签: java eclipse maven jboss mysql-connector

我正在尝试部署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连接器名称。我错过了什么吗?

感谢您的帮助。

0 个答案:

没有答案