Rominez commented on issue #2538: 使用JavaConfig搭建框架时报错。 Throw Error:BeanDefinitionStoreException when build by JavaConfig URL: https://github.com/apache/incubator-dubbo/issues/2538#issuecomment-425689186 > > > 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.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
