You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Rominez (GitHub)" <gi...@apache.org> on 2018/09/30 02:35:35 UTC

[GitHub] [incubator-dubbo] Rominez commented on issue #2538: 使用JavaConfig搭建框架时报错。 Throw Error:BeanDefinitionStoreException when build by JavaConfig

> 
> 
> How to run your demo ?
> 
> ```
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.770 s
> [INFO] Finished at: 2018-09-29T22:30:19+08:00
> [INFO] Final Memory: 8M/245M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project a-failed-dubbo-demo: Could not resolve dependencies for project priv.demo:a-failed-dubbo-demo:war:1.0-SNAPSHOT: Could not find artifact com.example:service:jar:1.0 in alimaven (http://maven.aliyun.com/nexus/content/repositories/central/) -> [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] 
> ```

Add the `service.jar` to your local maven reporsitory, I had wrote the mvn command in 'readme.md' file. You can also write an `ITestService` interface for `TestService`, and delete `com.example.service` from `pom.xml` file.

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2538 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org