Comments (3)
@jyotijauhari we've had this setup before, it should work. My assumption is that you are loading a configuration through App Configuration that is triggering a bean to be created that isn't with your non appconfiguration setup, or you are missing a configuration. It's hard to say with the part of the stack trace you provided.
Looking at the bit you did it ends with:
Error creating bean with name 'simpleMeterRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/export/simple/SimpleMetricsExportAutoConfiguration.class]: io/opentelemetry/javaagent/instrumentation/micrometer/ai/AzureMonitorMeterRegistry
There should be an exception below the one you provided with why the simpleMeterRegistry
failed to be created.
Note: if you have a property in a local config file and the same in app configuration, the one in App Configuration takes priority, which might also cause a possible issue.
from appconfiguration.
Hi @mrm9084 , I think local config might not be a problem, because when i am just using app configuration library [ implementation("com.azure.spring:spring-cloud-azure-appconfiguration-config:5.12.0") ] without this two
[ implementation("com.microsoft.azure:applicationinsights-runtime-attach:3.5.2", implementation("com.microsoft.azure:applicationinsights-core:3.5.2")]
The application is working without throwing any exception.
from appconfiguration.
@jyotijauhari, the existence of a new Bean
or new property that doesn't exist is triggering other beans to be created, and then failed to load.
The very bottom of the stack trace should say what the reason is, if you provided it, I could be of more help. I've been unable to replicate the issue with just those dependencies.
from appconfiguration.
Related Issues (20)
- Workload Identity Federation (Auotmatic) issue! HOT 2
- Are there plans to support loading external configuration via Spring's `spring.config.import` mechanism? HOT 1
- Kubernetes provider fails to run on arm platform HOT 9
- Request for documentation or source code for AzureAppConfigurationPush@6 HOT 1
- How to run a show command with a wildcard for label? HOT 1
- Delayed Startup and Request Quota Metrics Incorrectly Show 100% Usage HOT 2
- 403 after adding options.SelectSnapshot HOT 15
- Missing release notes for v7.2.0 of `Microsoft.Extensions.Configuration.AzureAppConfiguration` HOT 1
- Leverage Github's "Releases" capability HOT 3
- Need an example of using FeatureManagement with a database HOT 3
- AppConfigurationPushTask: Handle null values in Configuration file HOT 1
- UseAzureAppConfiguration and AzureAppConfigurationRefreshMiddleware break context execution HOT 11
- [BUG] Springboot application failing to start due to AppConfigurationRefreshEndpoint final class from azure appconfiguration-web with actuator dependency HOT 8
- Should we allow FeatureFlag.enabled to be "true"/"false" (string type)? HOT 6
- ignore-match import mode ignored when importing json using appconfig/kvset profile HOT 9
- Configuration Refresher with Timer Trigger HOT 5
- DotNetFramework /WebFormApp sample doesn't refresh HOT 2
- Unable to import all keys in a json file HOT 2
- E0627: Fail to create the target ConfigMap or Secret of AzureAppConfigurationProvider no token file specified. Check pod configuration or set TokenFilePath in the options 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 appconfiguration.