Comments (7)
Plugin shouldn't have been register to eureka as one of the hosts. Anything plugin needs from external, should be injected by the main app, who is in charge of interacting with other service throw Spring Cloud stuffs.
Could you please post the complete logs/configs or create a repo to reproduce this?
from sbp.
Thanks.... this is my config core/main app with eureka and & plugin withaut eureka
https://github.com/syifarahmat/pluginnable/tree/master
from sbp.
Hi, see your repo. I am sorry that I cannot figure where the problem is with just some few configuration files.
If you feel difficult to create a runnable project to reproduce this issue, could you at least provide a complete startup log instead?
from sbp.
I have reuploaded the project simply.
https://github.com/syifarahmat/pluginnable
I use OpenJDK 11
The Jhipster registry and its configuration are in the release folder. you can see the file.cmd how do I load the config.
My main obstacle is why I have to force the eureka config set for each plugin ... ??
This causes the application to register twice with the jhipster registry SS:
Thanks a lot.
from sbp.
Looks like your are referring eureka libs from your dependencies tree.
Basically Spring Cloud stuffs shouldn't exist in any classpath, otherwise they will trigger Spring Boot auto configuration, even though you do not mean to play with them.
Try close eureka explictly by adding follow to /plugins/pluginone/src/main/resources/application.yml
:
eureka:
instance:
hostname: localhost
client:
registerWithEureka: false
fetchRegistry: false
or re-planning your depnedencies tree...
from sbp.
Thanks..... 🙏🙏🙏
I will try...
from sbp.
u r welcome. I am closing this issue.
from sbp.
Related Issues (20)
- Support multiple Jvm/Spring Boot version HOT 1
- Can i use dubbo in this framework? HOT 9
- Bean with that name has already been defined HOT 4
- Support for Spring Boot 2.7.x HOT 2
- Support Spring Boot 3.0 HOT 2
- Support WebFlux
- Unit tetss for core, etc HOT 3
- Application can't load the plugin's resourse HOT 1
- 关于spring+p4j实现的讨论 HOT 6
- 调用PluginMangaer.startPlugin(pluginId)方法时报错 HOT 11
- Plugin 使用 @SpringBootApplication 出現 PluginResourceHandlerRegistrationCustomizer 無法初始化問題 HOT 3
- 插件如何携带统一路径前缀 HOT 1
- Integrating library that uses RequestMappingHandlerMapping HOT 4
- Persistent Bean Initialization Issues in sbp with Spring Boot 3.x HOT 3
- Class not found exception HOT 7
- Help HOT 8
- [SUPPORT] Error when upgrading to Springboot 3.2.4 HOT 2
- [FEAT] S3 Bucket support as alternative to local path HOT 1
- Got ClassNotFoundException when load Plugin HOT 2
- [SUPPORT]咨询 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbp.